Helper methods for SerializedProperty.
More...
|
static Vector3 | GetValue (SerializedProperty property) |
| Retrieve the value (vector) of a serialiedProperty, return always Vector3.
|
|
static void | SetValue (SerializedProperty property, Vector3 value) |
| Set the value of a SerialiedProperty vector.
|
|
static bool | IsPropertyDisposable (SerializedProperty serializedProperty) |
| We reproduce the internal verify method.
|
|
static bool | IsPropertyTypeValid (SerializedProperty serializedProperty) |
| Check if propertyType is correct for an usage of VectorFocus.
|
|
Helper methods for SerializedProperty.
◆ GetValue()
static Vector3 VectorFocus.VectorPropertyHelper.GetValue |
( |
SerializedProperty |
property | ) |
|
|
static |
Retrieve the value (vector) of a serialiedProperty, return always Vector3.
- Parameters
-
- Returns
◆ IsPropertyDisposable()
static bool VectorFocus.VectorPropertyHelper.IsPropertyDisposable |
( |
SerializedProperty |
serializedProperty | ) |
|
|
static |
We reproduce the internal verify method.
- Parameters
-
- Returns
◆ IsPropertyTypeValid()
static bool VectorFocus.VectorPropertyHelper.IsPropertyTypeValid |
( |
SerializedProperty |
serializedProperty | ) |
|
|
static |
Check if propertyType is correct for an usage of VectorFocus.
- Parameters
-
- Returns
◆ SetValue()
static void VectorFocus.VectorPropertyHelper.SetValue |
( |
SerializedProperty |
property, |
|
|
Vector3 |
value |
|
) |
| |
|
static |
Set the value of a SerialiedProperty vector.
- Parameters
-
The documentation for this class was generated from the following file: