𝐕𝐢𝐠𝐢𝐥
✅ "Object reference not set to an instance of"
From my POV:
I create the console, which upon initialization creates two new variables of the ConVar<T> type which implements IConVar (no issue?), and first add them to the list, THEN, try to list them with a foreach
14 replies
❔ Function with generic argument as a setter
I'm gonna move sceneInfo to have a proper default constructor instead of doing this terrible-ness very soon, I initially started off with the premise of "sceneInfo" should always be manually initialized because the player may load from a save, but I feel like this is a redundant thing to do in the context of C#, where I'm C++ brained (recently making a switch to expand into other languages and specialities) and I'm still very very used to doing stuff like this when it's over complicating code
27 replies