Table of Contents

Class WalkObjectProps

Namespace
nadena.dev.ndmf.util

Provides helpers to walk the properties of a SerializedObject

public static class WalkObjectProps
Inheritance
WalkObjectProps
Inherited Members

Methods

AllProperties(SerializedObject)

Returns an enumerable that will return most of the properties of a SerializedObject. In particular, this skips the contents of certain large arrays (e.g. the character contents of strings and the contents of AnimationClip curves).

public static IEnumerable<SerializedProperty> AllProperties(this SerializedObject obj)

Parameters

obj SerializedObject

The SerializedObject to traverse

Returns

IEnumerable<SerializedProperty>

The SerializedProperties found

ObjectProperties(SerializedObject)

Returns all ObjectReference properties of a SerializedObject

public static IEnumerable<SerializedProperty> ObjectProperties(this SerializedObject obj)

Parameters

obj SerializedObject

Returns

IEnumerable<SerializedProperty>