private void FetchEnvironments()
 {
     RemoteConfigWebApiClient.fetchEnvironmentsFinished += FetchDefaultEnvironment;
     try
     {
         RemoteConfigWebApiClient.FetchEnvironments(Application.cloudProjectId);
     }
     catch
     {
         RemoteConfigWebApiClient.fetchEnvironmentsFinished -= FetchDefaultEnvironment;
         DoCleanUp();
     }
 }
コード例 #2
0
 private void OnEnvironmentCreated(string newEnvironmentId)
 {
     environmentId = newEnvironmentId;
     RemoteConfigWebApiClient.FetchEnvironments(Application.cloudProjectId);
 }
コード例 #3
0
 private void OnEnvironmentDeleted()
 {
     RemoteConfigWebApiClient.FetchEnvironments(Application.cloudProjectId);
 }