I am really sorry if this doesn’t end up very clear, I tend to avoid using forums because I never know how to frame my questions.
The situation is that I have two objects; a Player, with a stat called Fear that by default is set to 0, and an Enemy that has a collider covering an area surrounding it.
Essentially what I am trying to do is raise the value of the Player’s fear by 1/sec while in close proximity to the Enemy.
I am still very new to coding, and am struggling to understand how scripts communicate with each other.
If this is not enough information, please let me know what else you need.