Пример #1
0
 private void Awake()
 {
     audioController = AudioController.Instance;
     coinsManager    = CoinsManager.Instance;
     frame           = FrameController.Instance;
     bandGenerator   = BandGenerator.Instance;
     gridController  = GridController.Instance;
     cam             = Camera.main.GetComponent <CameraController>();
     imageLoader     = InGameImageLoader.Instance;
 }
Пример #2
0
 private void Start()
 {
     gameManager = GameManager.Instance;
     generator   = transform.parent.GetComponent <BandGenerator>();
 }
 private void Start()
 {
     gameManager   = GameManager.Instance;
     bandGenerator = BandGenerator.Instance;
 }