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