The sequence in one script would be: Make the gameobject play death animation>spawn all the particles/drop items>delete the gameobject.
I seriously suggest you learn programming js/c# before trying to make anything in Unity, after that learn [this][1] and then you'd think twice before asking questions with enormous magnitude to them.
I suggest you to learn Java(it's like javascript) since it's easier at start than c#, and [here][2] is a good place to start.
[1]: http://unity3d.com/learn
[2]: https://www.youtube.com/playlist?list=PLFE2CE09D83EE3E28
↧