In my game the player can eventually be destroyed. I have a few scripts that are attached to the player or reference / follow the player. If you do not check to see that the player exists, you get a log error (the game still runs). I am using a simple if statement in each place that references the player and this works just fine but it seems a little Noobalicous.
// Do stuff involving the player
// follow the player
I am wondering if this is the best / most optimal way to do this? Thank in advance for your help.