Answers for "unity reference this gameobject"

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

C# Answers by Framework

Browse Popular Code Answers by Language