Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

how to acivate a game object unity

  void Start ()
  {
    gameObject.SetActive(false); // Disables the game object
  }
Comment

deactivate a gameobject unity

public void SetActive(bool value);
Comment

PREVIOUS NEXT
Code Example
Csharp :: wpf get function name 
Csharp :: c# create array with n elements 
Csharp :: if debug c# 
Csharp :: change scale of an object unity 
Csharp :: c# combobox add item 
Csharp :: c# string list 
Csharp :: c# swap name in string 
Csharp :: how to read a text file C# 
Csharp :: c# datetime blank 
Csharp :: C# clear form 
Csharp :: entity framework insert 
Csharp :: index of c# 
Csharp :: sorting a datatable in c# 
Csharp :: c# convert to nullable datetime 
Csharp :: c# lists 
Csharp :: c# next level script 
Csharp :: c# function 
Csharp :: scale between tow ranges c# 
Csharp :: unity2d movement 
Csharp :: which game engine is best 
Csharp :: c# parse number from string 
Csharp :: Metadata publishing for this service is currently disabled 
Csharp :: linq datatable 
Csharp :: string to array c# 
Csharp :: c# loop string 
Csharp :: two linked list intersection 
Csharp :: C# program lambda Func 
Csharp :: adding to a dictionary unity 
Csharp :: c# null conditional 
Csharp :: .net json result status code not working 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =