hi, I have an animated cube from side to side frames 100 and my problem is that when it collides with a box Colider destroy it and does not born again and this is my script:
function OnCollisionEnter(){ Destroy(gameObject); }
Can you show me an example, how to create a script ?