Constant
SystemPhase
: typeof SystemPhaseThis enum defines the 6 places where a new system can hook into in KAPLAY's update loop.
BeforeUpdateandAfterUpdate- run once at the start of the frame, before and after all objects'update()hooks are runBeforeDrawandAfterDraw- run once per frame while the graphics context is setup, before and after all objects'draw()hooks are runBeforeFixedUpdateandAfterFixedUpdate- run 50 times per second independent of graphics/update framerate, before and after all objects'fixedUpdate()hooks are run
group Plugins