当前位置: 首页>>代码示例>>C#>>正文


C# Inventory.ToString方法代码示例

本文整理汇总了C#中Inventory.ToString方法的典型用法代码示例。如果您正苦于以下问题:C# Inventory.ToString方法的具体用法?C# Inventory.ToString怎么用?C# Inventory.ToString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Inventory的用法示例。


在下文中一共展示了Inventory.ToString方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: queryInventorySucceededEvent

 private void queryInventorySucceededEvent(Inventory inventory)
 {
     Debug.Log("queryInventorySucceededEvent: " + inventory);
     if (inventory != null)
         _label = inventory.ToString();
 }
开发者ID:GrimReio,项目名称:OpenIAB,代码行数:6,代码来源:OpenIABTest.cs

示例2: queryInventorySucceededEvent

    //-------------------------------------------------------------------------
    private void queryInventorySucceededEvent(Inventory inventory)
    {
        Debug.Log("queryInventorySucceededEvent: " + inventory);
        if (inventory != null)
        {
            mMsg = inventory.ToString();
            mInventory = inventory;
        }

        NativeAPIMsgReceiver.instance().PayResult(_ePayOptionType.QueryInventory, true, inventory);
    }
开发者ID:yinlei,项目名称:GF.Core,代码行数:12,代码来源:Pay.cs

示例3: queryInventorySucceededEvent

    private void queryInventorySucceededEvent(Inventory inventory) {
        Debug.Log("queryInventorySucceededEvent: " + inventory);
        if (inventory != null)
            _label = inventory.ToString();
		Purchase fullVersionPurchase = inventory.GetPurchase(SKU);
		bool subscribedFullVersion = (fullVersionPurchase != null && VerifyDeveloperPayload(fullVersionPurchase.DeveloperPayload));
		Debug.Log("User " + (subscribedFullVersion ? "HAS" : "DOES NOT HAVE") + " FULL VERSION.");

		if (subscribedFullVersion) {
			PlayerPrefs.SetInt("p1a5I8d", 951402483);
		}
		else if(!subscribedFullVersion && query)
		{
			query = false;
			PlayerPrefs.SetInt("p1a5I8d", 0);
		}
		else if(!subscribedFullVersion && !query)
		{
			PlayerPrefs.SetInt("p1a5I8d", 0);
			OpenIAB.purchaseProduct("missileman.paid");
		}

    }
开发者ID:mengtest,项目名称:Missile_Man,代码行数:23,代码来源:OpenIABTest.cs

示例4: queryInventorySucceededEvent

 private void queryInventorySucceededEvent(Inventory inventory)
 {
     Debug.Log("queryInventorySucceededEvent: " + inventory);
     if (inventory != null)
     {
         _label = inventory.ToString();
         _inventory = inventory;
         extraMessage = "queryInventorySucceededEvent: " + _label;
     }
 }
开发者ID:inessa-aks,项目名称:code,代码行数:10,代码来源:InAppPurchaseOpenIAB.cs

示例5: queryInventorySucceededEvent

 private void queryInventorySucceededEvent(Inventory inventory)
 {
     Debug.Log ("queryInventorySucceededEvent: " + inventory);
     //GameObject.Find ("purchaseLog").GetComponent<Text> ().text = "queryInventorySucceededEvent: " + inventory;
     if (inventory != null) {
         _label = inventory.ToString ();
         _inventory = inventory;
     }
 }
开发者ID:nurfarazi,项目名称:musical-Piono-tiles-Unity3d,代码行数:9,代码来源:InPurchaseManager.cs


注:本文中的Inventory.ToString方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。