remember to delay instance
parent
8d82286f29
commit
c366810951
|
@ -63,7 +63,20 @@ GameLib.Component = function(
|
|||
*/
|
||||
if (this.linked) {
|
||||
try {
|
||||
|
||||
if (!this.delayed) {
|
||||
this.createInstance();
|
||||
}
|
||||
// else {
|
||||
// GameLib.Event.Subscribe(
|
||||
// GameLib.Event.DELAYED_INSTANCE,
|
||||
// function(data) {
|
||||
//
|
||||
// }
|
||||
// )
|
||||
// }
|
||||
//
|
||||
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue