Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsManager(ObjectFlags)

True if the object is a manager, otherwise false.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
Deprecated. This API is outdated and will be removed. Please check out the Memory Profiler Package (https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/)
public static bool IsManager(this ObjectFlags flags)

Parameters

The ObjectFlags to compute from (accessible via this).

Returns

Type

Description

boolReturns true if the object associated with this ObjectFlags is a manager.