// Use this for initialization protected virtual void Start() { livingBeingAgent = GetComponent <LivingBeingAgent>(); livingBeingAgent.Reproduction = Reproduction; livingBeingAgent.Evolution = Evolution; livingBeingAgent.Action = DoAction; livingBeingAgent.Pool = Pool; }
// Use this for initialization protected virtual void Start() { livingBeingAgent = GetComponent <LivingBeingAgent>(); livingBeingAgent.action = DoAction; livingBeing = livingBeingAgent.LivingBeing; }