❔ static class
Hey. I'm trying to define a static class. My static class's methods are almost entirely all functions of variables not in my class. However, I do want to initialize a reference to one thing, to an instance of a singleton, so I don't need to call GetInstance() (and all the baggage associated with calling it) every time I run a function from my static class.
Q: Is there a way to store a reference to an instance as a variable in a static class at runtime?
Q: Is there a way to store a reference to an instance as a variable in a static class at runtime?