// 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>(); }
// 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>(); }
// Start is called before the first frame update void Start() { successMusic = GetComponent <AudioSource>(); bscript = GameObject.Find("GameController").GetComponent <balanceScript>(); }