public static void Awake(this ActorComponent self, IEntityActorHandler iEntityActorHandler) { self.entityActorHandler = iEntityActorHandler; self.queue = new EQueue <ActorMessageInfo>(); self.actorId = self.Entity.Id; Game.Scene.GetComponent <ActorManagerComponent>().Add(self.Entity); self.HandleAsync(); }
public void Awake(IEntityActorHandler iEntityActorHandler) { this.entityActorHandler = iEntityActorHandler; this.actorId = this.Entity.Id; Game.Scene.GetComponent <ActorManagerComponent>().Add(this.Entity); this.HandleAsync(); }
public void Awake(IEntityActorHandler iEntityActorHandler) { this.Get().Awake(iEntityActorHandler); }
public static void Awake(this ActorComponent self, IEntityActorHandler iEntityActorHandler) { self.entityActorHandler = iEntityActorHandler; self.queue = new Queue <ActorMessageInfo>(); self.HandleAsync(); }
public void Awake(IEntityActorHandler iEntityActorHandler) { this.entityActorHandler = iEntityActorHandler; }
public void Awake() { this.entityActorHandler = new CommonEntityActorHandler(); }