Callback Reference

The main script file contains 5 main callbacks based on UnityEngine callbacks.

Play
Play callback is called on simulation start. Mostly, it is useless. Hovewer, you can create all your chat listeners here.

Update
Update callback is called when a game frame was is rendering. Use it for handling input.

Late Update
Late update callback is called after update. It can be useful somehow.

Fixed Update
Fixed update callback is the main place where is your code should be. It is frame-independent and used for all you calculation and physic updates. You shouldn`t read Input in this callback except for axises.

On GUI
On GUI callback is only for drawing GUI.