Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma strict
- var Dammage = 100;
- function OnCollisionEnter (info : Collision)
- {
- info.transform.SendMessage("ApplyDammage", Dammage, SendMessageOptions.DontRequireReceiver);
- }
Advertisement
Add Comment
Please, Sign In to add comment