/Scripts/Destroy.js

http://acid-and-base.googlecode.com/ · JavaScript · 3 lines · 3 code · 0 blank · 0 comment · 0 complexity · 6476f6a91ddb92b86a86afec3b68b7c3 MD5 · raw file

  1. function OnTriggerEnter (other : Collider){
  2. Destroy(gameObject);
  3. }