Method GetValue
- Namespace
- Gamelogic.Extensions.Editor
- Assembly
- Gamelogic.Extensions.Editor.dll
GetValue(SerializedProperty)
Gets the current value of the property from the serialized property.
protected abstract T GetValue(SerializedProperty property)
Parameters
property
SerializedPropertyThe serialized property to get the value from.
Returns
- T
The current value of the serialized property.
Examples
If T
is string, this is simply implemented as
override protected string GetValue(SerializedProperty property) => property.stringValue;