コード例 #1
0
    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;
    }
コード例 #2
0
 private void MoveToCenter()
 {
     lemming.ChangeAction(Lemming.Action.BackToCenter);
 }
コード例 #3
0
 private void InitializeLemmingState()
 {
     lemming.transform.position = centerPosition;
     lemming.ChangeAction(Lemming.Action.ReadyToRunInCenter);
 }