Unity Editor Wählen Sie Objekt im Skript aus

//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;
B33bo