ドキュメント

Unity Engine

Unity Engine

FindObjectsInactive

Options to control whether object find functions return inactive objects.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum FindObjectsInactive

Remarks

The Object.FindObjectsByType(), Object.FindFirstObjectByType() and Object.FindAnyObjectByType() functions can take a parameter of this type to indicate whether they should include inactive objects in the array of objects they return. By default, these functions exclude inactive objects.

Fields

Value

Description

ExcludeDon't include inactive objects in the array of objects that the function returns.
IncludeInclude inactive objects in the array of objects that the function returns.