Quantcast
Channel: Answers by "sudhir_kotila"
Viewing all articles
Browse latest Browse all 31

Answer by sudhir_kotila

$
0
0
I have found Answer : public List bubbleList = new List (); private int newBubbleXPos; private int newBubbleYPos; public void GenerateBubble () { bool locationInvaild = true; while (locationInvaild) { newBubbleXPos = Random.Range (-8, 8); newBubbleYPos = Random.Range (-4, 4); currentPosition = new Vector3 (newBubbleXPos, newBubbleYPos, 0); locationInvaild = false; for (int i=0; i

Viewing all articles
Browse latest Browse all 31

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>