Description
The SceneEditorTick
method is a static method of the Editor.EditorScene
class. It is called once per frame to ensure that the game camera remains synchronized with the main camera in the editor scene. This synchronization is crucial for maintaining a consistent view between the game and the editor, allowing developers to accurately preview and edit scenes.
Usage
To use the SceneEditorTick
method, ensure that it is called within the editor's frame update loop. This method does not require any parameters and does not return a value. It is automatically attributed with Editor.EditorEvent/FrameAttribute
, indicating its role in the frame update cycle.
Example
// Example usage of SceneEditorTick
// This method is typically called automatically by the editor's update loop.
Editor.EditorScene.SceneEditorTick();