Version: 2023.2

SerializationUtility.ClearManagedReferenceWithMissingType

切换到手册
public static bool ClearManagedReferenceWithMissingType (Object obj, long id);

描述

Drop the serialized data associated with a specific managed reference object that is missing its type.

This method returns false if there is no reference with a missing type matching the specified Id.

Additional resources: ClearAllManagedReferencesWithMissingTypes, GetManagedReferencesWithMissingTypes, SerializeReference.