Help me to Optimize my code

i have been made a simple game:
http://dl.gameemag.ir/other_files/OsGOLD.zip
it’s my first game, and it’s not optimize at all
but i think it has a big problem in collisions
this is my codes for player and more than 100 Rings in my game:

function OnCollisionEnter (other : Collider)
{       
	if (other.tag == "Rings")
	{
    SoundSource.clip = SoundClip;
    audio.PlayOneShot(SoundClip,1);
    Destroy(other.gameObject);
    }

what should i change to have a better performance?
oh… and i didn’t add any rigidbody to rings… but it works

(sorry for my bad english)

  1. Don’t use tags. Use layers for a start. Layer comparisons are a number but tags are a string.

  2. get friendly with the collision layers (also layer based) so rings do not check for collisions with other rings

  3. you don’t add a rigid body to anything that does not move. if it DOES move you HAVE to add a rigid body (and tick isKinematic on) or it will slow down because unity thinks it should never move and optimise it.

Lastly, there’s no way I’ll ever run random exes from people on the forum. I would actually have to be stupid or reckless. Either supply full source or a webplayer build (dropbox supports it).