Exemplo n.º 1
0
 public void StopFramework()
 {
     if (FrameworkStatus != FrameworkStatus.STOP)
     {
         foreach (var type in moduleTypes)
         {
             int result = SRWorkModule_API.Release(type);
             if (result == (int)Error.WORK)
             {
                 Debug.Log("[SRWorkModule] Release " + type + " : " + result);
             }
             else
             {
                 Debug.LogWarning("[SRWorkModule] Release " + type + " : " + result);
             }
         }
     }
     else
     {
         Debug.Log("[SRWorkModule] Stop Framework : not open");
     }
     FrameworkStatus = FrameworkStatus.STOP;
 }