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