Beispiel #1
0
    void Start()
    {
        Initializer initializer = GameObject.FindGameObjectWithTag("Initializer").GetComponent <Initializer>();

        editSubjects = initializer.editSubjects;

        thisSubj = GetComponentInChildren <Text>().text;
    }
Beispiel #2
0
    /*
     * //
     * Android toasts are now disabled; inbuilt toasts are used instead.
     * //
     */

    void Start()
    {
        Initializer initializer = GameObject.FindGameObjectWithTag("Initializer").GetComponent <Initializer>();

        taskManager    = initializer.taskManager.GetComponent <TaskManager>();
        marksManager   = initializer.marksManager;
        toastIndicator = initializer.toastIndicator;
        editSubjects   = initializer.editSubjects;

        editTaskHW = initializer.editTaskHW;
        editTaskAT = initializer.editTaskAT;
        editTaskRV = initializer.editTaskRV;
        editMarks  = initializer.editMarks;
    }