I’m currently thinking ahead at the moment to when I create an panel in my game that shows character HP which is updated in real time.
There are two possibilities that I have come up with to implement this, either use C# events or create a local variable in a script that on Start() retrieves a reference to the panel code via a one time GetComponent() call.
Which would be more efficient/easier to maintain and implement. Or perhaps there’s another way all toogether?