Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
M
MusicBigWatermelon
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
MusicBigWatermelon
Commits
b72fbad5
Commit
b72fbad5
authored
Aug 03, 2021
by
王雪伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改主面板
parent
89bd2939
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
MainPanel.prefab
Assets/Resources/UI/Panel/MainPanel.prefab
+1
-1
Game.unity
Assets/Scenes/Game.unity
+1
-1
MainPanel.cs
Assets/Scripts/Panel/MainPanel.cs
+2
-2
No files found.
Assets/Resources/UI/Panel/MainPanel.prefab
View file @
b72fbad5
...
@@ -731,7 +731,7 @@ GameObject:
...
@@ -731,7 +731,7 @@ GameObject:
m_Icon
:
{
fileID
:
0
}
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
1
m_IsActive
:
0
---
!u!224
&6808044342231135425
---
!u!224
&6808044342231135425
RectTransform
:
RectTransform
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
...
Assets/Scenes/Game.unity
View file @
b72fbad5
...
@@ -2151,7 +2151,7 @@ GameObject:
...
@@ -2151,7 +2151,7 @@ GameObject:
m_Icon
:
{
fileID
:
0
}
m_Icon
:
{
fileID
:
0
}
m_NavMeshLayer
:
0
m_NavMeshLayer
:
0
m_StaticEditorFlags
:
0
m_StaticEditorFlags
:
0
m_IsActive
:
1
m_IsActive
:
0
---
!u!114
&6808044342704349404
---
!u!114
&6808044342704349404
MonoBehaviour
:
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_ObjectHideFlags
:
0
...
...
Assets/Scripts/Panel/MainPanel.cs
View file @
b72fbad5
...
@@ -40,8 +40,8 @@ public class MainPanel : BasePanel
...
@@ -40,8 +40,8 @@ public class MainPanel : BasePanel
{
{
HttpTool
.
Instance
.
_Get
(
"app/v1/watermelon/info"
,
null
,
new
Action
<
WatermelonInfoBean
>((
result
)
=>
HttpTool
.
Instance
.
_Get
(
"app/v1/watermelon/info"
,
null
,
new
Action
<
WatermelonInfoBean
>((
result
)
=>
{
{
GetControl
<
Text
>(
"CashNumTv"
).
text
=
"¥"
+
result
.
available
;
GetControl
<
Text
>(
"CashNumTv"
).
text
=
"¥"
+
(
result
.
available
/
100f
).
ToString
(
"0.00"
)
;
GetControl
<
Text
>(
"FruitNumTv"
).
text
=
result
.
count
+
"个"
;
//
GetControl<Text>("FruitNumTv").text = result.count + "个";
GetControl
<
Button
>(
"MyMusic"
).
onClick
.
AddListener
(()
=>
{
UIMgr
.
Getinstance
().
ShowPanel
<
MusicPanel
>(
E_Layer
.
lower_top
);
});
GetControl
<
Button
>(
"MyMusic"
).
onClick
.
AddListener
(()
=>
{
UIMgr
.
Getinstance
().
ShowPanel
<
MusicPanel
>(
E_Layer
.
lower_top
);
});
}),
new
Action
<
string
,
string
>((
code
,
msg
)
=>
}),
new
Action
<
string
,
string
>((
code
,
msg
)
=>
{
{
...
...
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