Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. So in your console script you put something like this
  2.  
  3. public static Console instance;
  4.  
  5. Then in Awake you set Instance to itself.
  6.  
  7. private void Awake(){
  8. instance = this;
  9. }
  10.  
  11. Now with this you can call Console.MethodName(); at another script :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement