コード例 #1
0
ファイル: KeyboardPlayerInput.cs プロジェクト: xby2/Albatross
 /// <summary>
 /// Register the keyboard as player input
 /// </summary>
 /// <param name="_playerType">
 /// Which keyboard buttons to register WASD uses W, A, S, and D buttons.  
 /// ARROW uses right, left, down, and up buttons
 /// </param>
 public KeyboardPlayerInput(KeyboardPlayerType _playerType)
 {
     playerType = _playerType;
 }
コード例 #2
0
 /// <summary>
 /// Register the keyboard as player input
 /// </summary>
 /// <param name="_playerType">
 /// Which keyboard buttons to register WASD uses W, A, S, and D buttons.
 /// ARROW uses right, left, down, and up buttons
 /// </param>
 public KeyboardPlayerInput(KeyboardPlayerType _playerType)
 {
     playerType = _playerType;
 }