September 2010
Beginner
384 pages
8h 49m
English
We're finished tweaking the explosion, so you should delete the instance of the Explosion Prefab from the Scene view. The original stays safe and sound in the Prefab container in your Project panel. Naturally, we want this explosion to appear whenever we detect that the bomb has hit the ground. We've already put the logic in place to detect a ground hit remember that we're moving the bomb back up into the sky as soon as it drops below ground level. So it should be a reasonable hop, skip, and jump towards making that explosion happen. And luckily, it is!
var prefab:GameObject;
Read now
Unlock full access