Skip to content

Instantly share code, notes, and snippets.

@birarda
Last active January 24, 2017 00:49
Show Gist options
  • Save birarda/641b466704dac409b53aa75d89935ac3 to your computer and use it in GitHub Desktop.
Save birarda/641b466704dac409b53aa75d89935ac3 to your computer and use it in GitHub Desktop.
(function() {
return {
preload: function(entityID) {
print("Preload 1: ", entityID);
this.entityID = entityID;
},
unload: function() {
print("Unload 1: ", this.entityID);
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment