Exemplo n.º 1
0
 void OnTriggerStay()
 {
     Debug.Log("FSTAY");
     if (m_counter >= m_timer)
     {
         m_counter = 0.0f;
         m_pad.FoodIncrease("Food Increase");
     }
     m_counter += Time.deltaTime;
     m_foodUI.Interaction(true);
 }