GameObjectUtility.AreStaticEditorFlagsSet

Declaration

public static bool AreStaticEditorFlagsSet(GameObject go, StaticEditorFlags flags);

Parameters

go The GameObject to check.
flags The flags you want to check.

Returns

bool Whether the GameObject's static flags match the flags specified.

Description

Returns true if the passed in StaticEditorFlags are set on the GameObject specified.


Did you find this page useful? Please give it a rating: