public void GetContainer(int number) { fieldNumber = number; container = manager.inputKit.keys[number]; changePanel.SetActive(true); input = true; }
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); }
public KeyCodeContainer(KeyCodeContainer blueprint) { name = blueprint.name; key = blueprint.key; }