Example #1
0
 protected override void Awake()
 {
     ProcessingEntities.Create(this);
     #if ACTORS_DEBUG
     var name = gameObject.name.Split('(')[0];
     gameObject.name = name + "_" + id;
     #endif
     base.Awake();
     AddGo();
 }
Example #2
0
 public EntityComposer(int components = 1)
 {
     storages = new Storage[components];
     id       = ProcessingEntities.Create();
     length   = 0;
 }