now, for my health script, I used C#. I want to know if there is an easy way to referance this script in my inventory script. is that possible? because what I first used was this bit in the start function
and then I had a series of variable referencing HP_Script to set up the GUI. but it gave me an error saying that it couldn't find PlayerHealth. I tried going into the inspector and adding the script to the HP_Script target manually, but it doesn't let me.
any help would be greatly appriciated
answered Jul 24 '11 at 06:06 PM