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

◆ CanOpenInEditor() [1/2]

static Boolean CanOpenInEditor ( [NotNull] Object instance)
static

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

Returns false if obj is not an asset but an in-memory instance.

Parameters
instanceThe object to test for editability.
Returns
True if Unity can open assets of this type. False if it cannot or if obj is not an asset.
See also