//public GameObject rightHand; //SteamVR_LaserPointer laserScript; // Start is called before the first frame update void Start() { PlayerPrefs.SetInt("balance", balance); balanceText = balanceTextObj.GetComponent <Text>(); ts = GetComponent <targetScript>(); bs = GetComponent <basketballScore>(); //laserScript = rightHand.GetComponent<SteamVR_LaserPointer>(); }
// 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() { timeText = GetComponent <Text>(); bs = gameController.GetComponent <basketballScore>(); barAnimator = barAnimatorObj.GetComponent <Animator>(); gameBkbOver = true; ms = pole.GetComponent <moveLeftRight>(); ms.amplitude = 0; }