How can I check if a ref/pointer references a field of a specific object in C#?
I’m creating a modding framework for a game that allows you to make a temporary change to a global object. For example, if you want to change the properties of an object only for a certain save that won’t persist if you load another save during the same session.
How can I check if a ref/pointer references a field of a specific object in C#?
I’m creating a modding framework for a game that allows you to make a temporary change to a global object. For example, if you want to change the properties of an object only for a certain save that won’t persist if you load another save during the same session.