Answers for "how to reference this gameobject unity"

C#
0

how to reference this gameobject unity

// use the keyword "this"

this.SetActive(true);
// the line above will set the GameObject this script is attached to active
Posted by: Guest on July-06-2020

Code answers related to "how to reference this gameobject unity"

C# Answers by Framework

Browse Popular Code Answers by Language