CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches

◆ CanOpenInEditor() [2/2]

static Boolean CanOpenInEditor ( Int32 instanceId)
static

Returns true if the given object can be opened (edited) by the Unity editor.

Throws an exception if instanceId is not an asset but an in-memory instance.

Parameters
instanceIdThe instance ID of an asset object.
Returns
True if Unity can open assets of this type. False if it cannot or if instanceId is not an asset.
See also