using UnityEngine; public class Language : MonoBehaviour { public void Description_L(){ print("name=="+name); string path="CABINETpnl/ADDINPUTS/INPUTS/Descriptions"; if(_G.PON=="CREATORpnl")path=_G.PON+"/SHOWSELECTION/Descriptions"; if(_G.PON=="CABCREATORpnl")path=_G.PON+"/INPUTS/Descriptions"; Set.alpha(Get.o2(path,"Des_L1"),false); Set.alpha(Get.o2(path,"Des_L2"),false); Set.alpha(Get.o2(path,"Des_L3"),false); Set.alpha(Get.o2(path,"Des_"+name),true); } public void Acc_L(){ print("name acc=="+name); Set.alpha(Get.o2("CABINETpnl/ADDINPUTS/OPTIONS/Custom","Custum_L1"),false); Set.alpha(Get.o2("CABINETpnl/ADDINPUTS/OPTIONS/Custom","Custum_L2"),false); Set.alpha(Get.o2("CABINETpnl/ADDINPUTS/OPTIONS/Custom","Custum_L3"),false); Set.alpha(Get.o2("CABINETpnl/ADDINPUTS/OPTIONS/Custom","Custum_"+name),true); } }