Esempio n. 1
0
    void Start()
    {
        FrogPosition = StartFrogPosition = this.transform.localPosition;

        handler            = doNothing;
        handlerMoveTheFrog = doNothing;

        animation = this.GetComponentInChildren <Animation> ();
    }
Esempio n. 2
0
 /***
  * Public events. This events can be sent by the scenemanager script
  */
 public void CanMove()
 {
     handlerMoveTheFrog = MoveTheModel;
 }