sourceObject | The object to check. |
bool
True if sourceObject
is a an in-scene asset.
Checks if the given object is an in-scene asset.
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.