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