Method GetSerializedAssetFields
GetSerializedAssetFields(Type)
Gets the fields on a node type that should be stored through the graph asset-reference bridge.
public static IEnumerable<FieldInfo> GetSerializedAssetFields(Type type)
Parameters
typeTypeThe node type to inspect.
Returns
- IEnumerable<FieldInfo>
The instance fields marked with SerializeAssetAttribute whose field type derives from UnityEngine.Object.
Remarks
These fields are excluded from the regular graph serializer and are instead stored in Pinwheel.Vista.Graph.GraphAsset.m_objectReferences using a synthetic key composed from node ID and field name.