unity editor script select code example Example: unity select gameobject Selection.activeGameObject=vWay.gameObject;