class MAGES::Recorder::Utilities::EventDelegator¶
Overview¶
A class that can delegate events to happen after n count of frames. More…
class EventDelegator: public MonoBehaviour { public: // classes class Invocation; // methods void Add(UnityAction action, int frame = 0); };
Detailed Documentation¶
A class that can delegate events to happen after n count of frames.
Methods¶
void Add(UnityAction action, int frame = 0)
Add invocation.
Parameters:
action |
The action to run. |
frame |
The frames to wait to run this function. Set to 0 to invoke at end of frame. |