void Awake() { this.spawner = this.GetComponent <Spawner>(); if (this.Groups == null) { this.Groups = this.GetComponent <GameObjectGroup>(); } }
public RemoveFromGroup(ITaskIdBuilder id, GameObjectGroup groups) : base(id) { this.groups = groups; }
public AddToGroup(ITaskIdBuilder id, GameObjectGroup groups) : base(id) { this.groups = groups; }
void Awake() { this.groups = this.GetComponent <GameObjectGroup>(); this.peerGroup = this.GetComponent <PeerGroup>(); }