Example #1
0
 protected PlayerActionSet()
 {
     Enabled        = true;
     Device         = null;
     IncludeDevices = new List <InputDevice>();
     ExcludeDevices = new List <InputDevice>();
     Actions        = new ReadOnlyCollection <PlayerAction>(actions);
     InputManager.AttachPlayerActionSet(this);
 }
Example #2
0
 protected PlayerActionSet()
 {
     Enabled        = true;
     Device         = null;
     IncludeDevices = new List <InputDevice>();
     ExcludeDevices = new List <InputDevice>();
     Actions        = new ReadOnlyCollection <PlayerAction>(actions);
     InputManager.AttachPlayerActionSet(this);
     //can be deleted after checking the number of playeractions
     //Debug.Log("currently active PlayerActions: " + InputManager.playerActionSets.Count);
 }
 protected PlayerActionSet()
 {
     Actions = new ReadOnlyCollection <PlayerAction>(actions);
     Enabled = true;
     InputManager.AttachPlayerActionSet(this);
 }