예제 #1
0
 private void Awake()
 {
     kalanHak    = 3;
     audioSource = GetComponent <AudioSource>();
     sonucPaneli.GetComponent <RectTransform>().localScale  = Vector3.zero;
     levelPaneli.GetComponent <RectTransform>().localScale  = Vector3.zero;
     durumPaneli.GetComponent <RectTransform>().localScale  = Vector3.zero;
     durumPaneli2.GetComponent <RectTransform>().localScale = Vector3.zero;
     durumPaneli3.GetComponent <RectTransform>().localScale = Vector3.zero;
     toplamaHakManager  = Object.FindObjectOfType <ToplamaHakManager>();
     toplamaPuanManager = Object.FindObjectOfType <ToplamaPuanManager>();
     toplamaHakManager.KalanHaklariKontrolEt(kalanHak);
 }