using System.Collections; using System.Collections.Generic; using UnityEngine; public class SetPanel : MonoBehaviour { public void small(){ print("reduce"); Get.o1("TEXTUREPNL").transform.Find("LARGE").gameObject.SetActive(false); Get.o1("TEXTUREPNL").transform.Find("SMALL").gameObject.SetActive(true); } public void large(){ Large(); } public static void Large(){ print("reduce"); Get.o1("TEXTUREPNL").transform.Find("SMALL").gameObject.SetActive(false); Get.o1("TEXTUREPNL").transform.Find("LARGE").gameObject.SetActive(true); } }