Serialized field for currentHitPoints isn't showing correct value

(Just an aside) Enemy dies after 5 hits but my serialized field for currentHitPoints isn’t decreasing… it stays stuck on its initial value

Hi Mohammad,

Is the correct game object selected? Since we have multiple components with the same name in the scene, it is easy to look at the “wrong” component.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms