Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     Arx.Shutdown();
     applet = new Applet(appletFiles)
     {
         uploadOnConnection = true,
     };
     applet.Connected.AddListener(() => Show());
     applet.Tap.AddListener(z => BuyItem(z));
 }
Esempio n. 2
0
 protected virtual void Dispose(bool disposing)
 {
     if (!disposedValue)
     {
         // Destroy files array
         files = null;
         // Remove all listeners
         Tap.RemoveAllListeners();
         Connected.RemoveAllListeners();
         // Shut down Arx integration
         Arx.Shutdown();
         disposedValue = true;
     }
 }
Esempio n. 3
0
 // Called when the app quits
 private void OnApplicationQuit()
 {
     // Shut down the Arx SDK
     Arx.Shutdown();
 }