private void Start() { _cameraBeatTracker = GameObject.FindGameObjectWithTag("MainCamera").GetComponent<BeatTracker>(); _light2D = GetComponent<Light2D>(); ScaleFrom = _light2D.LightRadius; ScaleTo = ScaleFrom + ScaleUpTo; }
private void Start() { _cameraBeatTracker = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <BeatTracker>(); _light2D = GetComponent <Light2D>(); ScaleFrom = _light2D.LightRadius; ScaleTo = ScaleFrom + ScaleUpTo; }
private void Start() { _deltaHeight = 0; _camera = GetComponent<Camera>(); _cameraBeatTracker = GetComponent<BeatTracker>(); _levelManager = GetComponent<LevelManager>(); _battleModeTimer = 0; }
private void Start() { _cameraBeatTracker = GameObject.FindGameObjectWithTag("MainCamera").GetComponent<BeatTracker>(); ScaleFrom = 1; ScaleTo = ScaleFrom + ScaleUpTo; }
private void Start() { _cameraBeatTracker = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <BeatTracker>(); ScaleFrom = 1; ScaleTo = ScaleFrom + ScaleUpTo; }