Version: 2023.2
言語: 日本語
public static bool TryGetObjectIdentifier (Object targetObject, out Build.Content.ObjectIdentifier objectId);
public static bool TryGetObjectIdentifier (int instanceID, out Build.Content.ObjectIdentifier objectId);

説明

Tries to convert a persistent Object into an ObjectIdentifier.

Returns false if it was not possible. This can happen if the Object is is a Scene Object, or was not loaded from and Object on disk.