123456789101112131415161718192021222324252627 |
- using Newtonsoft.Json.Linq;
- using SC.XR.Unity;
- using UnityEngine;
- public class UserManager : SingletonMono<UserManager>
- {
- public void loginBack(bool isLogin)
- {
- if (isLogin)
- {
- HttpTool.Instance.GetAllMaterials("/material/init", "", (string msg)=> {
- Debug.Log("/material/init===>" + msg);
- ModelManager.Instance.init(msg);
-
- });
- HttpTool.Instance.Get("/project/index", (string msg) => {
- Debug.Log("/project/index===>" + msg);
- });
- }
- }
- }
|