Answers for "unity how to deactivate game objects"

C#
1

how to deactivate an object unity

Object.SetActive(true / false);
Posted by: Guest on November-12-2020
0

how to acivate a game object unity

void Start ()
  {
    gameObject.SetActive(false); // Disables the game object
  }
Posted by: Guest on July-27-2020

Code answers related to "unity how to deactivate game objects"

C# Answers by Framework

Browse Popular Code Answers by Language