Horje
check if gameobject is active Code Example
check if gameobject is active
if (gameObject.activeSelf)
{
	// this happens when object is active
}
unity check if gameobject is active
// To check if a GameObject is active:
gameObject.activeSelf;
unity check gameobject active
if (gameObject.activeInHierarchy)




Csharp

Related
unity how to convert to byte Code Example unity how to convert to byte Code Example
unity how to set gameobjkect enabled Code Example unity how to set gameobjkect enabled Code Example
how to turn string to int in unity Code Example how to turn string to int in unity Code Example
c# async sleep Code Example c# async sleep Code Example
quit button unity Code Example quit button unity Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9