예제 #1
0
        IEnumerator StartInitializationCoroutine(MatchInitializationStartedMessege mism)
        {
            var canvas = FindObjectOfType <Canvas>();

            PGServiceLocator.MenuManager.SetCanvas(canvas);

            yield return(null);

            PGServiceLocator.MatchInitializationStatus.Ready(this);
        }
예제 #2
0
 void StartInitialization(MatchInitializationStartedMessege mism)
 {
     PGServiceLocator.MatchInitializationStatus.WaitMe(this);
     StartCoroutine(StartInitializationCoroutine(mism));
 }
 public static void WaitMe(this MatchInitializationStartedMessege m, object service)
 {
     PGServiceLocator.MatchInitializationStatus.WaitMe(service);
 }