Answer by FLASHDENMARK
var ballPrefab : GameObject; static var BallShot = false; function Update () { // Shooting Ball if(Input.GetMouseButtonUp(0)){ if(BallShot == false){ var Basketballs : GameObject =...
View ArticleAnswer by SisterKy
but wait a moment... what's the var-keyword doing in front of BallShot = true;? You already define BallShot as static var at the beginning of the script. (I'm confused you don't have a...
View Article
More Pages to Explore .....