SerializedObjectUtils Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class SerializedObjectUtils abstract sealed
public static class SerializedObjectUtils
type SerializedObjectUtils = class
Public Class SerializedObjectUtils
- Inheritance
-
SerializedObjectUtils
Methods
CopySerializedObject(SerializedObject, SerializedObject, IEnumerable<String>) |
Copies properties of one serialized object to another (without undo) |
CopySerializedObjectToStruct<T>(SerializedObject, T, String, Boolean) |
Iterates through a serialized object's fields and sets any accompanying fields in the supplied struct. |
SetSerializedPropertyByType(Object, SerializedProperty) |
Sets a serialized property value based on type of value object. |
SetStructValue<T>(SerializedProperty, T) |
Uses reflection to set all public fields of a struct in an accompanying serialized property |
SetTargetFieldToSerializedPropertyValue(FieldInfo, Object, SerializedProperty) |
Sets the target field to the value from property based on property type. |