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
19
Source : VirtualJoystick.cs
with MIT License
from XINCGer
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);
}