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