Answers for "unity editor select object in script"

C#
3

unity editor select object in script

//Put this at the top of your script if you haven't already
using UnityEditor;

//This is how to select a gameObject
//Replace the "gameObject" with any gameobject
Selection.activeGameObject = gameObject;
Posted by: Guest on January-16-2021

Code answers related to "unity editor select object in script"

C# Answers by Framework

Browse Popular Code Answers by Language