Exemple #1
0
        internal void Awake()
        {
            Instance = this;

            var harmony = new Harmony("com.sinai.bettertargeting");

            harmony.PatchAll();

            CustomKeybindings.AddAction(TOGGLE_KEY, KeybindingsCategory.CustomKeybindings, ControlType.Both);
        }
Exemple #2
0
        internal void Awake()
        {
            Instance = this;

            var harmony = new Harmony("com.sinai.bettertargeting");

            harmony.PatchAll();

            CustomKeybindings.AddAction(ToggleKey, CustomKeybindings.KeybindingsCategory.Actions, CustomKeybindings.ControlType.Both, 5, CustomKeybindings.InputActionType.Button);
        }