UnityNinja Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

UnityNinja CommunityLog in

UnityNinja - Video Game Development Community, including Resources, Forums, Marketplace & More.


descriptionScript Help EmptyScript Help

more_horiz
Can Someone fix this script

var Health = 10;
var DamageTake = 1.0;

function OnCollisionEnter(other : Collision){
if(other.Tag=="Player"){
Health = Health - DamageTake;
}
}

descriptionScript Help EmptyRe: Script Help

more_horiz
lol i messed up on something
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum
power_settings_newLogin to reply