// Use this for initialization void Start() { lineZPostion = Camera.main.transform.position.z + Camera.main.nearClipPlane; Application.targetFrameRate = frameRate; Input.multiTouchEnabled = false; waveSpawner = GetComponent <WaveSpawner>(); miniBossSpawner = GetComponent <MiniBossSpawner>(); }
// Use this for initialization void Start() { lineZPostion = Camera.main.transform.position.z + Camera.main.nearClipPlane; Application.targetFrameRate = frameRate; Input.multiTouchEnabled = false; waveSpawner = GetComponent<WaveSpawner>(); miniBossSpawner = GetComponent<MiniBossSpawner>(); }