Quantcast
Viewing latest article 4
Browse Latest Browse All 8

How to loop through and remove Instantiate Gameobject clones

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 latest article 4
Browse Latest Browse All 8

Trending Articles