private void Awake() { if (_instance != null) { Destroy(_instance); return; } _config = Resources.Load <RemoteConfig>("RemoteConfig"); _instance = this; _instance._device = SystemInfo.deviceUniqueIdentifier; }
public static void Send <TResponse>(this IServiceRequest request, Action <TResponse> onResponse, Action <string, int> onError = null) { RemoteServiceProcessing.Request(request, onResponse, onError); }