![c# - Unity - Canvas element active by default even though it's set to inactive in the script - Stack Overflow c# - Unity - Canvas element active by default even though it's set to inactive in the script - Stack Overflow](https://i.stack.imgur.com/6lmqO.png)
c# - Unity - Canvas element active by default even though it's set to inactive in the script - Stack Overflow
![If you need to check if a GameObject is active, mind the difference between activeSelf and activeInHierarchy. You might get unexpected results. : r/ Unity3D If you need to check if a GameObject is active, mind the difference between activeSelf and activeInHierarchy. You might get unexpected results. : r/ Unity3D](https://i.redd.it/9c3k6dxx60t41.jpg)
If you need to check if a GameObject is active, mind the difference between activeSelf and activeInHierarchy. You might get unexpected results. : r/ Unity3D
![To find all objects of a certain type active and inactive in your scene just pass a boolean true to FindObjectsOfType method : r/Unity3D To find all objects of a certain type active and inactive in your scene just pass a boolean true to FindObjectsOfType method : r/Unity3D](https://preview.redd.it/tdnytl8mvhd61.png?auto=webp&s=f3be8e7219784cb5ab1eb5824c403a8f73f6219c)