public void Update() { // FIXME : This will be called after finding animation. if (isCalled) { return; } GameController.Instance.BroadcastToFindNewTargetToAllLemmings(GetRandomTargetPosition()); lemming.ChangeAction(Lemming.Action.MoveToCliff); isCalled = true; }
private void MoveToCenter() { lemming.ChangeAction(Lemming.Action.BackToCenter); }
private void InitializeLemmingState() { lemming.transform.position = centerPosition; lemming.ChangeAction(Lemming.Action.ReadyToRunInCenter); }