Action Events

In the process of creating action events in People Playground, it is important to note that these events are generated prior to any registration being performed. Additionally, to simplify the implementation, the action events are stored in variables. When creating the action event, a generic type, specifically "GameObject," is utilized.


Action<GameObject> act = (Instance) =>
    Debug.Log("My object is called " + + "!");

Last updated