void OnTriggerEnter2D(Collider2D collider) { if (collider.tag == Tags.Ground) { Player_jump.Player_is_Grounded = true; FindObjectOfType <Audio_Manager> ().Play(Tags.Player_Land); Player_Animator.SetBool(Tags.Is_Grounded, true); } else if (collider.tag == Tags.Damage_Ground) { Player_jump.Player_is_Grounded = true; Damage_Effect.Play(); Player_Animator.SetBool(Tags.Is_Grounded, true); } else if (collider.tag == Tags.Healing_Ground) { Player_jump.Player_is_Grounded = true; Healing_Effect.Play(); FindObjectOfType <Audio_Manager> ().Play(Tags.Player_Heal); Player_Animator.SetBool(Tags.Is_Grounded, true); Player_health.Gain_Health(2); } }