Game Development Reference
In-Depth Information
With this step, we will update all the
robotAI
prefabs in the
Hierarchy
view.
Now we have finished this step. We can click on play and see the result—when
we kill the enemy, we will see that the
ragdoll
game object gets created at the
same position as the
robotAI
game object. Then, the
robotAI
game object gets
destroyed, as shown in the following screenshot: