加弹框。修改连接设备样式。
This commit is contained in:
1 parent
07feba912c
commit
5156473bb2
62 files changed
+4963
-5447
No files matched your search
@@ -609,17 +609,17 @@ public class LoginController : MonoBehaviour
|
||||
});
|
||||
PlayerPrefs.SetString("UserInfos", JsonConvert.SerializeObject(userInfos));
|
||||
}
|
||||
App.CurrentUser = new UserModel
|
||||
{
|
||||
NickName = data.Nickname,
|
||||
Ftp = data.FTP,
|
||||
Weight = data.Weight,
|
||||
BicycleWeight = data.BicycleWeight,
|
||||
Carlories = "",
|
||||
Avatar = data.WxHeadImg,
|
||||
Distance = 0,
|
||||
Climb = "",
|
||||
};
|
||||
//App.CurrentUser = new UserModel
|
||||
//{
|
||||
// NickName = data.Nickname,
|
||||
// Ftp = data.FTP,
|
||||
// Weight = data.Weight,
|
||||
// BicycleWeight = data.BicycleWeight,
|
||||
// Carlories = "",
|
||||
// Avatar = data.WxHeadImg,
|
||||
// Distance = 0,
|
||||
// Climb = "",
|
||||
//};
|
||||
SceneManager.LoadScene("MainScene");
|
||||
}
|
||||
async void Submit()
|
||||
|
||||
@@ -7,8 +7,8 @@ public class MainController : MonoBehaviour
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
UIManager.Instance.MainPanel = (GameObject)this.transform.Find("Panel").gameObject;
|
||||
UIManager.Instance.ModalsPanel = this.transform.Find("ModalPanel").gameObject;
|
||||
UIManager.Instance.MainPanel = this.transform.Find("Panel").GetComponent<PFUIPanel>();
|
||||
UIManager.Instance.ModalsPanel = this.transform.Find("ModalPanel").GetComponent<PFUIPanel>();
|
||||
|
||||
|
||||
//MainMenu.transform.Find("Home").GetComponent<Button>().onClick.AddListener(() =>
|
||||
|
||||
Reference in new issue
Block a user