示例#1
0
 /// <summary>
 /// Gets a Vector2 input value.
 /// </summary>
 /// <param name="actionHash"></param>
 /// <returns></returns>
 protected Vector2 GetVector2Input(int actionHash)
 {
     return(PlayerInput.GetVector2(actionHash));
 }
示例#2
0
 protected Vector2 GetVector2Input(string action)
 {
     return(PlayerInput.GetVector2(action));
 }