void Start() { FrogPosition = StartFrogPosition = this.transform.localPosition; handler = doNothing; handlerMoveTheFrog = doNothing; animation = this.GetComponentInChildren <Animation> (); }
/*** * Public events. This events can be sent by the scenemanager script */ public void CanMove() { handlerMoveTheFrog = MoveTheModel; }