using System.Collections; using System.Collections.Generic; using UnityEngine; using UKTSDK; public class SDK_PC : BaseSdk, IUKTSdk { public override void changeAccount() { } public override void enterShareAndFeed(string arg) { } public override void getGameFriends() { } public override void getUserInfo() { } public override void initSdk() { Debug.Log("模拟初始化SDK"); } public override void killGame() { } public override void login() { Debug.Log("模拟PC登录游戏"); SDKCallBack.ins.AndroidCallBack("{\"action\":\"login\"}"); } public override void logout() { } public override void recharge(string arg) { Debug.Log("模拟充值===> \n" + arg); } public override void sendMessageToPlatform(string arg) { Debug.Log("模拟上报数据===> \n" + arg); } public override void setCallBackClazz(string caller, string funcName) { Debug.Log("设置回调调用方式===>" + caller + " ==> " + funcName); } public override void showUserAuthentication() { } }