Exemplo n.º 1
0
 void Start()
 {
     _dropper         = GetComponent <Dropper_script>();
     _scoreMananger   = _dropper.GameManger.GetComponent <ScoreMananger_script>();
     _col             = GetComponent <BoxCollider2D>();
     _spriteRenderers = GetComponentsInChildren <SpriteRenderer>();
     _gameController  = _scoreMananger.GetComponent <GameController_script>();
 }
Exemplo n.º 2
0
 void Start()
 {
     _dropper        = GetComponent <Dropper_script>();
     _gameController = _dropper.GameManger.GetComponent <GameController_script>();
 }