using System.Collections; using System.Collections.Generic; using UnityEngine; /* Socket组件-用户 */ public class UserComp : Singleton { public void getUserInfo(System.Action cb) { UserPlayer.ins.call("userComp.getUserInfo", null, cb); } public void saveUserInfo(UserInfo userInfo) { UserPlayer.ins.call("userComp.saveUserInfo", userInfo); } }