Version: 2019.3
public static bool Contains (Object obj);
public static bool Contains (int instanceID);

説明

オブジェクトがアセットであるかチェックします。

Returns true when an object is an asset (corresponds to a file in the Assets folder), and false if it is not (for example object in the Scene, or an object created at runtime).