Exemplo n.º 1
0
 public PlayerTwoAxisAction GetPlayerAction(PlayerActionSet actionSet)
 {
     ThrowIf.ArgumentIsNull(actionSet, "actionSet");
     return(this.getter(actionSet));
 }
Exemplo n.º 2
0
 public PlayerActionSetComponent(PlayerActionSet playerActionSet)
 {
     Value = playerActionSet;
 }
Exemplo n.º 3
0
 public PlayerAction(string name, PlayerActionSet owner)
 {
     Name  = name;
     Owner = owner;
     owner.AddPlayerAction(this);
 }
Exemplo n.º 4
0
 public void InitCustomActions(PlayerActionSet actionSet, PlayerAction playerAction)
 {
     this.actionSet    = actionSet;
     this.playerAction = playerAction;
 }
Exemplo n.º 5
0
 internal static void DetachPlayerActionSet(PlayerActionSet playerActionSet)
 {
     playerActionSets.Remove(playerActionSet);
 }
Exemplo n.º 6
0
 void SaveBindings()
 {
     saveData = PlayerActionSet.Save();
     PlayerPrefs.SetString("Bindings", saveData);
 }