Answers for "unity enable gameobject"

C#
13

unity how to set gameobjkect enabled

//This is for unity
GameObject.SetActive(true);
Posted by: Guest on March-31-2020
15

unity c# set gameobject active

gameObject.SetActive(true)
Posted by: Guest on February-09-2020
10

unity enable gameobject

GameObject.Find("PlayMenu 3").SetActive(false);
// you could also store a GameObject as  variable
Posted by: Guest on May-10-2020
0

on GAMEOBJECT enable unity

void OnEnable()
    {
        Debug.Log("PrintOnEnable: script was enabled");
    }
Posted by: Guest on January-18-2021

C# Answers by Framework

Browse Popular Code Answers by Language