C
C#2y ago
Pacrombie

Is this bad practice?

Is using a static property to get a singleton's instance variables something I shouldn't do? I'm just trying to make it so I don't have to type InputManager.Instance.Keybinds.Key.......... If there is a better way I would be happy to hear any suggestions :)
1 Reply
Pacrombie
PacrombieOP2y ago
What would be a better way to store "global" variables than a Singleton? As I continue to use Singletons, I like them less and less I also have to consider that Unity MonoBehaviors cannot be static
Want results from more Discord servers?
Add your server