文档

Unity Engine

Unity Engine

ClearManagedReferenceWithMissingType(Object, long)

Drop the serialized data associated with a specific managed reference object that is missing its type.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool ClearManagedReferenceWithMissingType(Object obj, long id)

Parameters

Returns

Type

Description

bool

Remarks

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