Answers for "how to check if a gameobject having a script is active"

C#
19

check if gameobject is active

if (gameObject.activeSelf)
{
	// this happens when object is active
}
Posted by: Guest on July-17-2020

Code answers related to "how to check if a gameobject having a script is active"

C# Answers by Framework

Browse Popular Code Answers by Language