Answers for "if gameobject is active do something"

C#
22

check if gameobject is active

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

unity check if gameobject is active

// To check if a GameObject is active:
gameObject.activeSelf;
Posted by: Guest on March-08-2020

Code answers related to "if gameobject is active do something"

C# Answers by Framework

Browse Popular Code Answers by Language