Exemplo n.º 1
0
        private void Awake()
        {
            if (_instance != null)
            {
                Destroy(_instance);
                return;
            }

            _config           = Resources.Load <RemoteConfig>("RemoteConfig");
            _instance         = this;
            _instance._device = SystemInfo.deviceUniqueIdentifier;
        }
Exemplo n.º 2
0
 public static void Send <TResponse>(this IServiceRequest request, Action <TResponse> onResponse, Action <string, int> onError = null)
 {
     RemoteServiceProcessing.Request(request, onResponse, onError);
 }