Click or drag to resize
IValueEditorContextTryGetValueT Method
Tries to take the value, cast it to the specified type and return it. If value isn't of expected type, false is returned.

Namespace: Slash.Unity.Common.GUI.ValueEditors
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
bool TryGetValue<T>(
	out T value
)

Parameters

value
Type: T
Contains the value if it was casted successful; otherwise the default value of the specified type.

Type Parameters

T
Expected type of value.

Return Value

Type: Boolean
True if the value could be successful casted; otherwise, false.
See Also