Summary
Returns the `state` as long as it isn't
null.
Otherwise returns the InspectorGadgets.Editor.IGEditorUtils.DefaultEditorState.
- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
.Editor - Containing Type
- IGEditorUtils
Syntax
public static EditorState ValueOrDefault(this Nullable<EditorState> state)
Parameters
| Name | Type | Description |
|---|---|---|
| state | Nullable |
Return Value
| Type | Description |
|---|---|
| EditorState |