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

        handler            = doNothing;
        handlerMoveTheFrog = doNothing;

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