void ItemPickedUp(VRInventory.InventoryItemPickupResult result)
 {
     if (result.result == MobileVRInventory.VRInventory.ePickUpResult.Success)
     {
         switch (result.item.name)
         {
         case "Coin": UpdateCoinTextAnimated(); break;
         }
     }
     else
     {
         ShowMessage("You cannot carry anymore of those.");
     }
 }
Ejemplo n.º 2
0
 public void OnItemPickedUp(VRInventory.InventoryItemPickupResult result)
 {
     Debug.Log(result.item.name);
 }