Esempio n. 1
0
 private void InitialModule()
 {
     foreach (var type in moduleTypes)
     {
         InitialError.ErrorCode = SRWorkModule_API.Initial(type, IntPtr.Zero);
         if (InitialError.ErrorCode != (int)Error.WORK)
         {
             InitialError.FailedModule = type;
             Debug.LogWarning("[SRWorkModule] Initial " + type + " : " + InitialError.ErrorCode);
             FrameworkStatus = FrameworkStatus.ERROR;
             return;
         }
         Debug.Log("[SRWorkModule] Initial " + type + " : " + InitialError.ErrorCode);
     }
     FrameworkStatus = FrameworkStatus.WORKING;
 }