Skip to content

Instantly share code, notes, and snippets.

@birarda
Created March 14, 2017 01:23
Show Gist options
  • Save birarda/85eb0254536c4fa29a3cf5963917414b to your computer and use it in GitHub Desktop.
Save birarda/85eb0254536c4fa29a3cf5963917414b 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