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

ObjectFlagsExtensions.IsDontDestroyOnLoad

Cambiar al Manual
public static bool IsDontDestroyOnLoad (Profiling.Memory.Experimental.ObjectFlags flags);

Parámetros

flagsThe ObjectFlags to compute from (accessible via this).

Valor de retorno

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

Descripción

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