Version: 2019.1
Experimental: this API is experimental and might be changed or removed in the future.

ObjectFlagsExtensions.IsDontDestroyOnLoad

マニュアルに切り替える
public static bool IsDontDestroyOnLoad (Profiling.Memory.Experimental.ObjectFlags flags);

パラメーター

flagsThe ObjectFlags to compute from (accessible via this).

戻り値

bool Returns true if the object associated with this ObjectFlags is marked as DontDestroyOnLoad.

説明

True if the object is marked as DontDestroyOnLoad; otherwise false.