IsInSceneAsset(Object)
Checks if the given object is an in-scene asset.
読み終わるまでの所要時間 1 分最終更新 23日前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static bool IsInSceneAsset(Object sourceObject)
Parameters
The object to check.
Returns
Type | Description |
|---|---|
| bool | True if |
Remarks
In-scene assets are scene objects that are referenced by one or more objects in a scene and are of an asset type. Examples of asset types include, but are not limited to, Mesh, Material, and ScriptableObject.
Additional Resources: InSceneAssetUtility.CollectInSceneAssets.