Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

GameObjectUtility.AreStaticEditorFlagsSet

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答