// The initialization. void Start() { // Get the pheromones folder. pheromones = GameObject.Find ("Pheromones"); // Get general information. setup = GameObject.FindGameObjectWithTag ("Setup").GetComponent<Setup> (); // Get the agentBehavior script. antBehavior = this.transform.parent.GetComponent<AntBehavior> (); }
// The initialization. void Start() { // Get the pheromones folder. pheromones = GameObject.Find("Pheromones"); // Get general information. setup = GameObject.FindGameObjectWithTag("Setup").GetComponent <Setup> (); // Get the agentBehavior script. antBehavior = this.transform.parent.GetComponent <AntBehavior> (); }
// Start is called before the first frame update void Start() { beingApproachedBy = null; beingCarriedBy = null; isStored = false; }