Commit 1dbdce28 authored by wanqing's avatar wanqing

修改界面

parent 01441328
...@@ -346,15 +346,15 @@ public class BattleUI : MonoBehaviour ...@@ -346,15 +346,15 @@ public class BattleUI : MonoBehaviour
} }
else if(progress > 0.6f && progress <= 0.7f) else if(progress > 0.6f && progress <= 0.7f)
{ {
m_progress.fillAmount = 0.25f + 0.25f * progress / 0.7f; m_progress.fillAmount = 0.25f + 0.25f * (progress - 0.6f)*10;
} }
else if (progress > 0.7f && progress <= 0.8f) else if (progress > 0.7f && progress <= 0.8f)
{ {
m_progress.fillAmount = 0.5f + 0.25f * progress / 0.8f; m_progress.fillAmount = 0.5f + 0.25f * (progress - 0.7f)*10;
} }
else else
{ {
m_progress.fillAmount = 0.75f + 0.25f * progress; m_progress.fillAmount = 0.75f + 0.25f * (progress - 0.8f)*5;
} }
for(int i = 0;i<m_progressStar.Length;i++) for(int i = 0;i<m_progressStar.Length;i++)
{ {
......
...@@ -2490,7 +2490,7 @@ MonoBehaviour: ...@@ -2490,7 +2490,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 0.8078432, b: 0, a: 1} m_Color: {r: 1, g: 0.38823533, b: 0, a: 1}
m_RaycastTarget: 0 m_RaycastTarget: 0
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
...@@ -9148,7 +9148,7 @@ MonoBehaviour: ...@@ -9148,7 +9148,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 0.8064977, b: 0, a: 1} m_Color: {r: 1, g: 0.38823533, b: 0, a: 1}
m_RaycastTarget: 0 m_RaycastTarget: 0
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
...@@ -14130,7 +14130,7 @@ MonoBehaviour: ...@@ -14130,7 +14130,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 0.36039928, b: 0.18396229, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_Maskable: 1 m_Maskable: 1
m_OnCullStateChanged: m_OnCullStateChanged:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment