class
EditorSettings
Contains various globally accessible editor preferences.
Public
Methods
SetMoveHandleSnapActive
Enables/disables snapping for move handles in scene view.
GetMoveHandleSnapActive
SetRotateHandleSnapActive
Enables/disables angle snapping for rotate handles in scene view.
GetRotateHandleSnapActive
SetMoveHandleSnap
All move handles will move in multiples of this amount.
GetMoveHandleSnap
SetRotationHandleSnap
All rotate handles will rotate in multiples of this amount.
GetRotationHandleSnap
SetGridSize
Total size of the scene view grid (its width and height).
GetGridSize
SetGridSpacing
Distance between scene view grid lines.
GetGridSpacing
SetHandleSize
Default size of all scene view handles.
GetHandleSize
SetActiveSceneTool
Currently active scene view tool (for example move, rotate, etc.).
GetActiveSceneTool
SetActiveCoordinateMode
Currently active coordinate mode for scene view (for example global/local).
GetActiveCoordinateMode
SetActivePivotMode
Currently active pivot mode for scene view (for example pivot/center).
GetActivePivotMode
SetLastOpenProject
Path to the last project open in the editor.
GetLastOpenProject
SetAutoLoadLastProject
Determines whether the last open project should be automatically loaded on editor start up.
GetAutoLoadLastProject
SetRecentProjects
List of most recently loaded project paths and their last access times.
GetRecentProjects
SetFpsLimit
maximum number of frames per second the editor is allowed to execute.
Zero means infinite.
GetFpsLimit
SetMouseSensitivity
Controls sensitivity of mouse movements.
This doesn't apply to mouse cursor. Default value is 1.0f.