How to Architecture and pass along values from object to object?

Coming from XNA development, I usually have an ObsticleManager, ScoreManager and PlayerClass. As the player would hit obstacles I’d call the Score Manager to track the score or deaths. Then I’d be able to write out sprite text on the screen by pulling that public property from ScoreManager into it.

Not sure how to properly do that in Unity though. I have a Player Object with a player script and an obstacle manager “sorta” script tied to an empty game object. However, what’s the proper way to somehow have the player object alert some other object so that other object can say update the death count on the screen?

Try Messenger Class for this