using System.Collections; using System.Collections.Generic; using UnityEngine; public class DifferentialUI : MonoBehaviour { public RectTransform secne1; public RectTransform secne2; void Start() { if (GameMain.model==true) { secne1.gameObject.SetActive(true); } else { secne2.gameObject.SetActive(true); } } // Update is called once per frame void Update() { } }