using System.Collections; using System.Collections.Generic; using UnityEngine; public class EditValance : MonoBehaviour { public void selection(){ string On=Get.ToggleOnInChild("EDITOR/HEAD/SELECTION"); //DOIT.CloseALLPNLONLY(); if(On=="NONE"){ print(On); //Get.o3("Panel_SCENE","PNL","KNOBpnl").SetActive(true); //nobPosition.StartPNL(); } if(On=="SETCOL"){ print(On); //Get.o3("Panel_SCENE","PNL","CABDOORpnl").SetActive(true); //DoorCabPNL.startpnl(); } if(On=="G"){ print(On); //Get.o3("Panel_SCENE","PNL","GLASSpnl").SetActive(true); //Glass.startPNL(); } } }