Manual

Key To Game Event

Code examples to perform various interactions with the Key To Game Event

Execute

Send the set game event

using Doozy.Engine.UI.Input;
using UnityEngine;

public class ExampleClass : MonoBehaviour
{
    public KeyToGameEvent MyKeyToGameEvent;
    
    private void Start()
    {
        MyKeyToGameEvent.Execute();
    }
}