Ejemplo n.º 1
0
	// 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> ();
	}
Ejemplo n.º 2
0
    // 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> ();
    }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     beingApproachedBy = null;
     beingCarriedBy    = null;
     isStored          = false;
 }