示例#1
0
    public void OnTriggerEnter2D(Collider2D collider)
    {
        Sprung = CharSpring.Sprung;

        Controller player = collider.GetComponent <Controller> ();

        player.ReceiveForce(force);
    }
示例#2
0
    IEnumerator Idle()
    {
        yield return(new WaitForSeconds(1));

        Sprung = CharSpring.Idle;
    }