31 lines
1.1 KiB
JavaScript
31 lines
1.1 KiB
JavaScript
if (this.parentEntity === data.entity) {
|
|
|
|
console.log('Entity FSDemo Loaded');
|
|
|
|
this.imageSpoon = GameLib.EntityManager.Instance.findComponentById('g6oggbsg5k');
|
|
this.imageEarth = GameLib.EntityManager.Instance.findComponentById('fo1einfper');
|
|
|
|
this.meshBox = GameLib.EntityManager.Instance.findComponentById('2ehdod2g2a');
|
|
this.meshImageGrid = GameLib.EntityManager.Instance.findComponentById('9qkka13nor');
|
|
|
|
this.instancedGeometry = GameLib.EntityManager.Instance.findComponentById('s5dfh75zza');
|
|
this.boxGeometry = GameLib.EntityManager.Instance.findComponentById('pwzyukkviy');
|
|
|
|
/**
|
|
* Textures
|
|
*/
|
|
this.textureWhite = GameLib.EntityManager.Instance.findComponentById('642tyh30uo');
|
|
|
|
/**
|
|
* Materials
|
|
*/
|
|
this.materialRawPhong = GameLib.EntityManager.Instance.findComponentById('r153c4450d');
|
|
|
|
this.ccBeforeRender = GameLib.EntityManager.Instance.findComponentById('wlw063ovw9');
|
|
this.ccKeyUp = GameLib.EntityManager.Instance.findComponentById('ip0443a52d');
|
|
|
|
this.ccBeforeRender.entityLoaded = this;
|
|
this.ccKeyUp.entityLoaded = this;
|
|
}
|
|
|
|
//@ sourceURL=entiyuLoaded.js
|