// Start is called before the first frame update void Start() { next_level = GameObject.Find("Goal"); nl = next_level.GetComponent <Next_Level>(); les_anim = GetComponent <Les_animations>(); pm = GetComponent <PlayerMovement>(); player_health = 5; number_of_hearts = player_health; }
// Start is called before the first frame update void Start() { les_Animations = GetComponent <Les_animations>(); }
// Start is called before the first frame update void Start() { anim = GetComponent <Les_animations>(); pm = GetComponent <PlayerMovement>(); }