|
I have a "Giblets" script which OnDestroy clones parts of the gameObject I'm destroying, gives them a rigidbody, and then throws them into the air. There are two problems with this. First one is when I stop the scene I get the above error message, and they are still in my Hierarchy. Second problem is that even with the rigidbody they fall right through the floor. Any ideas? Here's the code:
(comments are locked)
|
|
I was having the same trouble. This answer to another question should solve your issue. http://answers.unity3d.com/questions/54674/is-there-a-way-to-know-when-the-application-is-in.html Sweet this looks like exactly what I need.
May 26 '11 at 05:46 PM
Patyrn
(comments are locked)
|
