API ReferenceScriptcomponentOnstartScriptComponent.onStart() method Invoked whenever the game is started or restarted by the user. Signature: onStart(): void; Returns: void