void Start()
        {
            spawningObjects = spawningObjects.GetComponent <SpawningObjects>();
            gameManager     = gameManager.GetComponent <GameManager>();

            /*i = 0;
             * StartCoroutine(CountdownTimer());  */
        }
Пример #2
0
        // Use this for initialization
        void Start()
        {
            spawningObjects = spawningObjects.GetComponent <SpawningObjects>();
            musicManager    = GameObject.Find("MusicManager");
            musicManager.SetActive(false);
            initialFixedDelta = Time.fixedDeltaTime;

            cochleaHealth      = 100;
            cochleaDamage.text = cochleaHealth + "%";
        }