Example #1
0
    void Start()
    {
        Debug.Log(Decrypt("MbeH8lPmhaI="));

        countries   = FindObjectOfType <DB_Country>();
        gui_control = FindObjectOfType <GUI_Controller>();
    }
Example #2
0
    // Use this for initialization
    void Start()
    {
        guiController = guiObj.GetComponent <GUI_Controller> ();
        guiController.syncWithRoundManager = true;
        guiController.hideCanvas();
        //GUICONTROLLER addCenterText, setCenterTextInterval, addPowerup, hideCanvas, showCanvas

        leaderboardManager = leaderboardManagerObj.GetComponent <Leaderboard_Manager> ();

        playerController = playerObj.GetComponent <Player_Controller_VR> ();
        this.playerController.setPlayerSpeed(0.0f);

        this.roundData = this.GetComponent <Round_Data> ().roundData;

        animalSpawnLocations  = GameObject.FindGameObjectsWithTag("Animal Spawn");
        powerupSpawnLocations = GameObject.FindGameObjectsWithTag("Powerup Spawn");
        alienSpawnLocations   = GameObject.FindGameObjectsWithTag("Alien Spawn");

        timeStarted = Time.time;
        timeEnding  = timeStarted + timeRoundDuration;

        StartCoroutine("PowerupSpawnerCoroutine");

        //this.startRound (1);
    }
Example #3
0
    public void Start()
    {
        DontDestroyOnLoad(gameObject);
        arr_product   = new string[100];
        id            = new string[100];
        name          = new string[100];
        desc1         = new string[100];
        desc2         = new string[100];
        stock         = new int[100];
        likes         = new int[100];
        id_group      = new int[100];
        price         = new float[100];
        photo         = new Texture2D[100];
        url_photo     = new string[100];
        create_date   = new string[100];
        brand         = new string[100];
        model         = new string[100];
        processor     = new string[100];
        ram           = new string[100];
        capacity      = new string[100];
        screen_size   = new string[100];
        resolution    = new string[100];
        warranty_type = new string[100];
        os            = new string[100];

        Get_Product();

        gui_control = FindObjectOfType <GUI_Controller>();
    }
Example #4
0
    public void Start()
    {
        index      = 0;
        sWidth     = Screen.width;
        sHeight    = Screen.height;
        OnUpdate   = true;
        CountClick = 0;

        scene       = SceneManager.GetActiveScene();
        gui_control = FindObjectOfType <GUI_Controller>();
    }
 // Use this for initialization
 void Start()
 {
     firebaseController = this.GetComponent <Firebase_Leaderboard_Controller> ();
     guicontroller      = guiObj.GetComponent <GUI_Controller> ();
     hideLeaderboard();
 }