- Home /
Question by
hugemaggot · Dec 02, 2010 at 08:47 PM ·
fps
my character damage script wont work
well basically when i add the characterdamage script to my enemy as the fps tutorial says to my enemy dosent dissapear as it should.
please can anyone help me?
Comment
Best Answer
Answer by _Petroz · Dec 02, 2010 at 10:11 PM
First check the console for any errors. Next use print statements to make sure the code is getting executed and that things are working properly.
Debug.Log() allows you to print text to the console window in Unity.
http://unity3d.com/support/documentation/ScriptReference/Debug.Log.html
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Zombie FPS 2 Answers
Horror Game AI script recommendation? 1 Answer
Ammo Script help 1 Answer