unity how to set gameobjkect enabled
//This is for unity
GameObject.SetActive(true);
unity how to set gameobjkect enabled
//This is for unity
GameObject.SetActive(true);
unity enable gameobject
GameObject.Find("PlayMenu 3").SetActive(false);
// you could also store a GameObject as variable
on GAMEOBJECT enable unity
void OnEnable()
{
Debug.Log("PrintOnEnable: script was enabled");
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us