예제 #1
0
파일: textureMod.cs 프로젝트: Roesh/AmisApp
    public bool loadFail;                     // true if even one texture failed to load after the jpeg load round

    // Use this for initialization
    void Start()
    {
        setupImages = false;
        loadFail    = false;
        for (int i = 0; i < 9; i++)
        {
            imagesAreSet[i] = false;
            RoundNum[i]     = 0;
        }
        rTextChanger = FindObjectOfType <RoundTextChanger>();
    }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     levelPassed       = false;
     personGuessID     = -1;
     numCorrectGuesses = 0;
     userGuessed       = false;
     rt_changer        = gameObject.GetComponent <RoundTextChanger> ();
     manager           = gameObject.GetComponent <selectionGameManagerScript> ();
     for (int i = 0; i < 3; i++)
     {
         halfVols [i] = auds [i].volume / 2;
     }
     pses = FindObjectsOfType <particleScp> ();
 }
예제 #3
0
    // Use this for initialization
    void Start()
    {
        timeTaken    = 0f;
        switchLevels = false;
        currentLevel = 0;         // levels start from 0
        nextLevel    = 0;
        levelSuccess = false;
        begin        = false;
        guessManager = gameObject.GetComponent <GuessManager> ();
        textChanger  = gameObject.GetComponent <RoundTextChanger> ();
        ts           = timerBar.GetComponent <timerShrink> ();

        textChanger.clearScore();
        //imagesPanel.SetActive (false);

        total_time = 0f;
    }