Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static EventManager instance = null;
- public static EventManager Instance
- {
- get
- {
- if(instance == null){
- instance = FindObjectOfType<EventManager>();
- }
- return instance;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement