The IsRecordingVideo
property is a static boolean property of the Editor.EditorUtility
class. It indicates whether a video recording is currently in progress. This can occur either through the use of a video command or by pressing the F6 key.
The IsRecordingVideo
property is a static boolean property of the Editor.EditorUtility
class. It indicates whether a video recording is currently in progress. This can occur either through the use of a video command or by pressing the F6 key.
To check if a video is currently being recorded in the editor, you can access the IsRecordingVideo
property directly from the Editor.EditorUtility
class. This property is read-only and returns a boolean value.
// Example of checking if a video is being recorded if (Editor.EditorUtility.IsRecordingVideo) { // Perform actions if a video is currently being recorded // For example, notify the user or adjust settings // Note: This is a read-only property }