public void OnTriggerEnter2D(Collider2D collider) { Sprung = CharSpring.Sprung; Controller player = collider.GetComponent <Controller> (); player.ReceiveForce(force); }
IEnumerator Idle() { yield return(new WaitForSeconds(1)); Sprung = CharSpring.Idle; }