IGEditorUtils.

ValueOrDefault(Nullable<EditorState>) Method

Summary

Returns the `state` as long as it isn't null. Otherwise returns the InspectorGadgets.Editor.IGEditorUtils.DefaultEditorState.

Syntax

public static EditorState ValueOrDefault(this Nullable<EditorState> state)

Parameters

Name Type Description
state Nullable<EditorState>

Return Value

Type Description
EditorState