From d69adc7009c7953749b59ace2518c0a7c99faa47 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 24 Apr 2022 19:10:43 +0800 Subject: + light saber --- SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar.meta | 8 ++++++++ .../Assets/Scripts/UI/Panel/PanelBossHpBar/PanelBossHpBar.cs | 10 ++++++++++ .../Scripts/UI/Panel/PanelBossHpBar/PanelBossHpBar.cs.meta | 11 +++++++++++ .../Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs | 2 ++ 4 files changed, 31 insertions(+) create mode 100644 SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar.meta create mode 100644 SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar/PanelBossHpBar.cs create mode 100644 SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar/PanelBossHpBar.cs.meta (limited to 'SurvivalTest/Assets/Scripts/UI/Panel') diff --git a/SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar.meta b/SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar.meta new file mode 100644 index 0000000..45721d1 --- /dev/null +++ b/SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c5e2eef1c0b745b468cd7e02b389e9fd +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar/PanelBossHpBar.cs b/SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar/PanelBossHpBar.cs new file mode 100644 index 0000000..860143a --- /dev/null +++ b/SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar/PanelBossHpBar.cs @@ -0,0 +1,10 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class PanelBossHpBar : PanelBase +{ + public override void Set(object param) + { + } +} \ No newline at end of file diff --git a/SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar/PanelBossHpBar.cs.meta b/SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar/PanelBossHpBar.cs.meta new file mode 100644 index 0000000..c10ee49 --- /dev/null +++ b/SurvivalTest/Assets/Scripts/UI/Panel/PanelBossHpBar/PanelBossHpBar.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: f0cc24522a8627e45968194d9e4f1db6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs b/SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs index ecb6ea1..9025984 100644 --- a/SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs +++ b/SurvivalTest/Assets/Scripts/UI/Panel/PanelTopStuffBar/UIItemBar.cs @@ -17,6 +17,8 @@ public class UIItemBar : MonoBehaviour public void Set() { + m_ItemTempalte.gameObject.SetActive(false); + for (int i = 0; i < PlayerManager.Instance.items.Count; ++i) { ItemWidget widget = MakeItemWidget(PlayerManager.Instance.items[i]); -- cgit v1.1-26-g67d0