Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 235 bytes modified
parent
55737c25ee
commit
ab3e34e85a
|
@ -82,6 +82,7 @@ this.runtime = GameLib.Utils.GetRuntime();
|
|||
*/
|
||||
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('zjq6ach3jt');
|
||||
this.keyUp = GameLib.EntityManager.Instance.findComponentById('306204wy29');
|
||||
this.touchEnd = GameLib.EntityManager.Instance.findComponentById('0j2wxrtdf2');
|
||||
|
||||
/**
|
||||
* Geometries
|
||||
|
@ -1790,6 +1791,9 @@ GameLib.Event.Subscribe(
|
|||
this.keyUp.initialized = false;
|
||||
this.keyUp.entityLoaded = this;
|
||||
|
||||
this.touchEnd.initialized = false;
|
||||
this.touchEnd.entityLoaded = this;
|
||||
|
||||
console.log('starting game snake');
|
||||
}.bind(this)
|
||||
);
|
||||
|
@ -1804,6 +1808,9 @@ GameLib.Event.Subscribe(
|
|||
this.beforeRender.initialized = false;
|
||||
this.beforeRender.entityLoaded = null;
|
||||
|
||||
this.touchEnd.initialized = false;
|
||||
this.touchEnd.entityLoaded = null;
|
||||
|
||||
console.log('starting game snake');
|
||||
}.bind(this)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue