// Start is called before the first frame update
    void Start()
    {
        eReset = eggy.GetComponent <EggyReset>();

        timer            = 0;
        moveSpeed        = 5f;
        FloorIngredients = new List <GameObject>();
        agent            = kiwi.GetComponent <NavMeshAgent>();
        following        = false;
    }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     eReset = eggy.GetComponent <EggyReset>();
 }