Example #1
0
 private void Start()
 {
     instance = this;
     pinArray = GameObject.FindGameObjectsWithTag("Pin");
     myBall   = GameObject.FindGameObjectWithTag("Player").GetComponent <SwipeBowlingBall>();
     GeneratePinPos();
 }
Example #2
0
 private void Start()
 {
     myBowlingBall = FindObjectOfType <SwipeBowlingBall>();
 }