// Start is called before the first frame update public void Start() { textureDownloader = NetworkProvider.Instance.GetDefaultHTTPNotifier <ITextureDownloadListener>(); textureDownloader.AddRequestListener(textureListenerKey, this); }
public void Awake() { connector = NetworkProvider.Instance.GetDefaultHTTPNotifier <IJSonRequestListener>(); connector.AddRequestListener(listenerKey, this); }