Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     ts          = gameController.GetComponent <targetScript>();
     audioSound  = gameController.GetComponent <AudioSource>();
     countScript = countDownScriptObj.GetComponent <countdownTimer>();
     bs          = gameController.GetComponent <balanceScript>();
 }
Пример #2
0
 // Start is called before the first frame update
 void Start()
 {
     oldPos        = transform.position;
     scoreScript   = gameController.GetComponent <basketballScore>();
     bs            = bkbCountDownObj.GetComponent <bkbCountDown>();
     bkbScoreSound = GameObject.Find("bkbScoreAudio").GetComponent <AudioSource>();
     bscript       = GameObject.Find("GameController").GetComponent <balanceScript>();
 }
Пример #3
0
 // Start is called before the first frame update
 void Start()
 {
     successMusic = GetComponent <AudioSource>();
     bscript      = GameObject.Find("GameController").GetComponent <balanceScript>();
 }