// Use this for initialization void Start() { foodInteraction = FoodOverhaul.foodInteraction; GUIuse = FoodOverhaul.GUIuse; selfCollider = GetComponent <Collider>(); pfd = FoodOverhaul.PLAYER.GetComponent <PlayerFoodSystems>(); }
// 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>(); }