コード例 #1
0
 public static MoreGameManager GetInstance()
 {
     if (instance == null)
     {
         instance = new MoreGameManager();
     }
     return(instance);
 }
コード例 #2
0
ファイル: AppEntrance.cs プロジェクト: fujisheng/EscapeDemo
 private void Start()
 {
     progress = new CodeProgress(
         LanguageManager.GetInstance().Init,
         AudioManager.GetInstance().Init,
         StoreManager.GetInstance().Init,
         IAPManager.GetInstance().Init,
         UrlManager.GetInstance().Init,
         LocalAdManager.GetInstance().Init,
         ADManager.GetInstance().Init,
         TipsManager.GetInstance().Init,
         InventoryManager.GetInstance().Init,
         PlotManager.GetInstance().Init,
         MoreGameManager.GetInstance().Init,
         FeedbackManager.GetInstance().Init,
         ShareManager.GetInstance().Init,
         DataManager.GetInstance().Init,
         DataManager.GetInstance().LoadFile
         );
     progress.onProgress += OnProgress;
     StartCoroutine(Init());
 }