예제 #1
0
 // Use this for initialization
 void Start()
 {
     foodInteraction = FoodOverhaul.foodInteraction;
     GUIuse          = FoodOverhaul.GUIuse;
     selfCollider    = GetComponent <Collider>();
     pfd             = FoodOverhaul.PLAYER.GetComponent <PlayerFoodSystems>();
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     foodInteraction = FoodOverhaul.foodInteraction;
     GUIuse          = FoodOverhaul.GUIuse;
     rigidbody       = GetComponent <Rigidbody>();
     selfCollider    = GetComponent <Collider>();
     pfd             = FoodOverhaul.PLAYER.GetComponent <PlayerFoodSystems>();
     audio           = GetComponent <AudioSource>();
 }