コード例 #1
0
    void SwitchState(E_State InState)
    {
        if (null != State)
        {
            State.Deactivate();
        }

        State = States[InState];

        State.Activate(Owner.Transform);
    }
コード例 #2
0
 public void Activate()
 {
     State = States[E_State.ThirdPerson];
     State.Activate(transform);
     WaitForEndOfAction = null;
 }