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