using System.Collections; using System.Collections.Generic; using UnityEngine; 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); } }