Access script methods throug other script
Posted: Tue Feb 25, 2020 4:31 pm
It is possible to access the methods of a script through other script? I mean, I have a custom script that changes some game mechanics, and it's all controlled by an object named GameController (public static class GameController).
I want to create an extension script that makes the previous script compatible with other game modes rather than versus.
Can I, for example, access GameController.SayLine() (custom method inside custom class) through another script?
I want to create an extension script that makes the previous script compatible with other game modes rather than versus.
Can I, for example, access GameController.SayLine() (custom method inside custom class) through another script?