Singleton to store GameInstance reference
I want to access to my GameInstance from any place of my code and I created the next singleton class
I want use next construction to access from any place of my code:
Okay... I thought all windows runs in different threads and I can store accessing to GameInstance by current thread ID, but all windows runs in MainThrd O_O
How to solve this problem? Are there ways?
Special appeal to Rama! You wrote the page where used access to GEngine, Is right way to use it in multiple windows?
Follow this question
Once you sign in you will be able to subscribe for any updates here