Cant run a private method in a postfix #426
Unanswered
freddyguythe10th
asked this question in
Help and Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to mod a simple game and the code I made needs to run specific methods to work. These methods are private, and won't allow me to run them. I've looked all over and can't seem to find a way to do this. Here is my code:
and the error given looks something like this:
error CS0122: 'PlayerController.SetStars(int)' is inaccessible due to its protection level
If I could get any help on this I would be very grateful.
Beta Was this translation helpful? Give feedback.
All reactions