void Start() { m_gameManag = GameObject.FindGameObjectWithTag("GameManager"); m_gramoManag = m_gameManag.GetComponent<GramoManager>(); m_dustManag = m_gameManag.GetComponent<DustManager>(); m_HighPassFilter = m_AudioSource1.GetComponent<AudioHighPassFilter>(); m_HighPassFilter.cutoffFrequency = 600; m_DistortionFilter = m_AudioSource1.GetComponent<AudioDistortionFilter>(); m_DistortionFilter.distortionLevel = 0.8f; m_AudioSource1.volume = 0.00f; m_AudioSource2.volume = 1.00f; m_AudioSource1.Play(); m_AudioSource2.Play(); }
// Use this for initialization void Start() { RefreshClockTextMeshes(); UpdateClockSpeedArrows(); DustManager = new DustManager(this, Game.Current, Base.Current, SurvivalTimer.Instance, StartCoroutine, StopCoroutine); }
// Start is called before the first frame update void Start() { Instance = this; }