rotationManager.onUpdateNoRotate

onUpdateNoRotate(onUpdate): void

Register a callback that runs on rotation updates when the module has no priority

Parameters

onUpdate

Function

Function to invoke each update without rotation.

Returns

void

Example

rotationManager.onUpdateNoRotate(() => {
 //idle tick 
 });

Last updated