Quantcast
Channel: Latest Questions by neogrant2
Viewing all articles
Browse latest Browse all 8

How to loop through and remove Instantiate Gameobject clones

$
0
0
How do I loop through and remove Instantiate Gameobject clones? What I have for making Gameobjects. But how do I loop through these and remove? var prefab: GameObject; if ( prefab ) { for(var i :int = 0; i == 0; i++){ Instantiate(prefab, CorrespondingGroundHit.point, Quaternion.identity ); } }

Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles





Latest Images