FindObjectsInactive
Options to control whether object find functions return inactive objects.
Read time 1 minuteLast updated 4 days ago
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.
Additional Resources: Object.FindObjectsByType, Object.FindFirstObjectByType, Object.FindAnyObjectByType