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