| | |
| | | } |
| | | |
| | | GUI.Label(new Rect(left, top + (step * i++), width, height), oaid); |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "getOAID")) |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "getOAID"))//由于IMEI属于隐私,高版本安卓 不支持获取 |
| | | { |
| | | oaid = TalkingDataGA.GetOAID(); |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "Set Game Server")) |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "设置区服")) |
| | | { |
| | | if (account != null) |
| | | { |
| | |
| | | TDGAMission.OnFailed("miss001", "failed"); |
| | | } |
| | | |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "Charge Request")) |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "充值")) |
| | | { |
| | | TDGAVirtualCurrency.OnChargeRequest("order01", "iap", 10, "CNY", 10, "UnionPay"); |
| | | } |
| | | |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "Charge Success")) |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "充值 Success")) |
| | | { |
| | | TDGAVirtualCurrency.OnChargeSuccess("order01"); |
| | | } |
| | | |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "Reward")) |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "追踪获赠的虚拟币")) |
| | | { |
| | | TDGAVirtualCurrency.OnReward(100, "reason"); |
| | | } |
| | | |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "Item Purchase")) |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "记录付费点")) |
| | | { |
| | | TDGAItem.OnPurchase("itemid001", 10, 10); |
| | | } |
| | | |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "Item Use")) |
| | | if (GUI.Button(new Rect(left, top + (step * i++), width, height), "消耗物品或服务等")) |
| | | { |
| | | TDGAItem.OnUse("itemid001", 1); |
| | | } |