Exemplo n.º 1
0
    private void Awake()
    {
        currSessionManager  = gameObject.GetComponent <CurrSessionManager>();
        storeManager        = gameObject.GetComponent <StoreManager>();
        sessionTimerManager = gameObject.GetComponent <SessionTimerManager>();

        defButtonCol = currSessionManager.buttons[0].image.color;
    }
Exemplo n.º 2
0
    void Awake()
    {
        csm = gameObject.GetComponent <CurrSessionManager>();

        buttons = csm.buttons;

        texts[0] = buttons[0].GetComponentInChildren <Text>();
        texts[1] = buttons[1].GetComponentInChildren <Text>();
        texts[2] = buttons[2].GetComponentInChildren <Text>();
        texts[3] = buttons[3].GetComponentInChildren <Text>();
    }
Exemplo n.º 3
0
 private void Awake()
 {
     currSessionManager = gameObject.GetComponent <CurrSessionManager>();
 }
Exemplo n.º 4
0
    private bool questionNosLoaded = false; // Later, Make True as the bool is going to be loaded from a text file

    private void Awake()
    {
        saveManager        = gameObject.GetComponent <SaveManager>();
        loadManager        = gameObject.GetComponent <LoadManager>();
        currSessionManager = gameObject.GetComponent <CurrSessionManager>();
    }