Esempio n. 1
0
    private void Awake()
    {
        kalanHak = 3;

        audioSource = GetComponent <AudioSource>();

        kalanHaklarManager = Object.FindObjectOfType <KalanHaklarManager>();
        puanManager        = Object.FindObjectOfType <PuanManager>();

        kalanHaklarManager.KalanHaklariKontrolEt(kalanHak);
    }
    private void Awake()
    {
        kalanHaklarManager = Object.FindObjectOfType <KalanHaklarManager>();
        PuanManager        = Object.FindObjectOfType <puanManager>();

        seskaynagi = GetComponent <AudioSource>();

        sonucPaneli.GetComponent <RectTransform>().localScale = Vector3.zero;

        kalanHaklarManager.KalanHaklariKontrolEt(kalanHak);
    }
Esempio n. 3
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;
     kalanHaklarManager  = FindObjectOfType <KalanHaklarManager>();
     puanManager         = FindObjectOfType <PuanManager>();
     toplamaPuanManager  = Object.FindObjectOfType <ToplamaPuanManager>();
     toplamaPuanManager1 = Object.FindObjectOfType <ToplamaPuanManager1>();
     toplamaPuanManager2 = Object.FindObjectOfType <ToplamaPuanManager2>();
     kalanHaklarManager.kalanHaklariKontrolEt(kalanHak);
 }