VirtualJoystick.SetHotkey(UnityEngine.KeyCode, UnityEngine.KeyCode, UnityEngine.KeyCode, UnityEngine.KeyCode, UnityEngine.EventModifiers)

Here are the examples of the csharp api VirtualJoystick.SetHotkey(UnityEngine.KeyCode, UnityEngine.KeyCode, UnityEngine.KeyCode, UnityEngine.KeyCode, UnityEngine.EventModifiers) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : VirtualJoystick.cs
with MIT License
from XINCGer

void Update()
    {
        SetHotkey(KeyCode.A, KeyCode.W, KeyCode.D, KeyCode.S, 0);
        UpdateHotkey();

        if (_IsControlled)
            if (!dontCallEvent)
                if (onValueChange != null) onValueChange.Invoke(JoystickAxis);
    }