// Use this for initialization void Start() { Aex.SetActive(false); Bex.SetActive(false); Cex.SetActive(false); Dex.SetActive(false); }
public void ClickD() { Aex.SetActive(false); Bex.SetActive(false); Cex.SetActive(false); Dex.SetActive(true); }
// Update is called once per frame void Update() { if (가넷시간매니져.A == 1) { Aimg.SetActive(true); } else { Aex.SetActive(false); Aimg.SetActive(false); } if (가넷시간매니져.B == 1) { Bimg.SetActive(true); } else { Bex.SetActive(false); Bimg.SetActive(false); } if (가넷시간매니져.C == 1) { Cimg.SetActive(true); } else { Cex.SetActive(false); Cimg.SetActive(false); } if (가넷시간매니져.D == 1) { Dimg.SetActive(true); } else { Dex.SetActive(false); Dimg.SetActive(false); } }