using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Steps : MonoBehaviour { public static void Update() { string step="0"; if(Get.o1("INSPIRATION")!=null){step="1";} if(Get.o1("DOORSTYLE")!=null){step="2";} if(Get.o1("COUNTERTOPSTYLE")!=null){step="3";} if(Get.o1("COLORROOM")!=null){step="4";} if(Get.o1("FLOORROOM")!=null){step="5";} if(Get.o1("ISLAND")!=null){step="6";} if(Get.o1("SYS")!=null){step="7";} if(Get.o1("PLAN2D")!=null){step="8";} if(Get.o1("SETDIM")!=null){step="9";} if(Get.o1("CEILING")!=null){step="10";} if(Get.o1("OBSTACLES")!=null){step="11";} if(Get.o1("POSITIONING")!=null){step="12";} if(Get.o1("WALLCAB")!=null){step="13";} if(Get.o1("SENDING")!=null){step="14";} string steps=step+" / "+ _G.Steps.ToString(); //if(Get.o1("SENDING")!=null){steps="";} if(Get.o1("THANKS")!=null){steps="";} Get.o2("Panel_LOGO","Steps").GetComponent().text =steps; } }