Exemple #1
0
    public override void OnNotify()
    {
        float jumpforce = boxEvent.GetJumpForce();

        Debug.Log(" " + this + jumpforce);
        Jump(boxEvent.GetJumpForce());
    }
 //What the box will do if the event fits it (will always fit but you will probably change that on your own)
 public override void OnNotify()
 {
     Jump(boxEvent.GetJumpForce());
 }