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