Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- So in your console script you put something like this
- public static Console instance;
- Then in Awake you set Instance to itself.
- private void Awake(){
- instance = this;
- }
- Now with this you can call Console.MethodName(); at another script :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement