Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
ZeusHub_Unity
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘梓豪
ZeusHub_Unity
Commits
bcb2b070
Commit
bcb2b070
authored
May 05, 2023
by
潘梓豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新登录功能
parent
7c1e8232
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
107 additions
and
11 deletions
+107
-11
ButtonComponents.cs
Assets/Scripts/EasySave/ButtonComponents.cs
+13
-2
MyScene.unity
Assets/_Scenes/MyScene.unity
+93
-9
登录框.prefab
Assets/_预设/UI/登录页/登录框.prefab
+0
-0
log.txt
Log/log.txt
+1
-0
No files found.
Assets/Scripts/EasySave/ButtonComponents.cs
View file @
bcb2b070
...
...
@@ -66,7 +66,18 @@ public class ButtonComponents : MonoBehaviour
PlayerPrefs
.
DeleteKey
(
"name"
);
PlayerPrefs
.
DeleteKey
(
"password"
);
PlayerPrefs
.
DeleteKey
(
"ison"
);
btn_compent
[
0
].
SetActive
(
true
);
btn_compent
[
1
].
GetComponentInChildren
<
Toggle
>().
isOn
=
false
;
btn_compent
[
2
].
SetActive
(
false
);
btn_compent
[
3
].
SetActive
(
false
);
btn_compent
[
4
].
SetActive
(
false
);
btn_compent
[
4
].
GetComponentInChildren
<
Button
>().
GetComponent
<
SmsButton
>().
timer
=
-
1
;
msg
.
text
=
"重置密码成功"
;
/*btn_compent[0].SetActive(true);
var input_texts= btn_compent[0].GetComponentsInChildren<TMP_Text>();
if (input_texts != null && input_texts.Length > 0)
{
...
...
@@ -79,8 +90,8 @@ public class ButtonComponents : MonoBehaviour
}
}
btn_compent[0].GetComponentInChildren<Toggle>().isOn = false;
msg
.
text
=
"重置密码成功"
;
btn_compent
[
1
].
SetActive
(
false
);
btn_compent[1].SetActive(false);
*/
}
else
if
(
code
.
Equals
(
1
))
{
...
...
Assets/_Scenes/MyScene.unity
View file @
bcb2b070
This diff is collapsed.
Click to expand it.
Assets/_预设/UI/登录页/登录框.prefab
View file @
bcb2b070
This diff is collapsed.
Click to expand it.
Log/log.txt
View file @
bcb2b070
...
...
@@ -7192,3 +7192,4 @@
2023/4/7 16:10:13 api:http://8.134.114.12:11011/oauth/token Cannot connect to destination host
2023/4/10 14:04:19 api:http://8.134.114.12:11011/oauth/token Cannot connect to destination host
2023/5/4 8:33:07 api:http://8.134.114.12:11011/oauth/token Cannot connect to destination host
2023/5/5 15:13:40 api:http://8.134.114.12:11011/oauth/token HTTP/1.1 401 Unauthorized
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment