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