In unity3d i declared
var ribbon : GameObject;
In start function i have used code
Destroy (ribbon.gameObject, 5);
which shows error "Destroying assets is not permitted to avoid data loss. If you really want to remove an asset use DestroyImmediate (theObject, true);"
how can i destroy this gameobject?
Thanks in advance
DestroyImmediate
? – John Dvorak