示例#1
0
 public void GetContainer(int number)
 {
     fieldNumber = number;
     container   = manager.inputKit.keys[number];
     changePanel.SetActive(true);
     input = true;
 }
示例#2
0
 public AxisContainer(AxisContainer blueprint)
 {
     positiveButtonKeyIndex = blueprint.positiveButtonKeyIndex;
     negativeButtonKeyIndex = blueprint.negativeButtonKeyIndex;
     name           = blueprint.name;
     positiveButton = new KeyCodeContainer(blueprint.positiveButton);
     negativeButton = new KeyCodeContainer(blueprint.negativeButton);
     SetSensivity(blueprint.sensivity);
 }
示例#3
0
 public KeyCodeContainer(KeyCodeContainer blueprint)
 {
     name = blueprint.name;
     key  = blueprint.key;
 }