IIn my singleton i want to access the player class very often, i want to optimise a bit this, but how can I write GameManager.Player instead of GameManager.Instance.player?
I have seen on a website : but i dont understand clearly how to do this:
Define static properties and methods for public variables and methods that are used often from outside the class. This allows you to write GameManager.Player instead of GameManager.Instance.player.