예제 #1
0
 /// <summary>
 /// Start is called on the frame when a script is enabled just before
 /// any of the Update methods is called the first time.
 /// </summary>
 private void Start()
 {
     if (m_useKeyBoard)
     {
         _action = CharacterActions.CreateWithKeyboardBindings();
     }
     else
     {
         _action = CharacterActions.CreateWithControllerBindings();
     }
 }
예제 #2
0
 public void CreateWithKeyboardBindings()
 {
     _action = CharacterActions.CreateWithKeyboardBindings();
 }