diff --git a/Assets/AddressableAssetsData/AddressableAssetSettings.asset b/Assets/AddressableAssetsData/AddressableAssetSettings.asset index dbcd5ca..f1d4c42 100644 --- a/Assets/AddressableAssetsData/AddressableAssetSettings.asset +++ b/Assets/AddressableAssetsData/AddressableAssetSettings.asset @@ -15,7 +15,7 @@ MonoBehaviour: m_DefaultGroup: 965ebc3298ffc3f429a28032069aceb5 m_currentHash: serializedVersion: 2 - Hash: 00000000000000000000000000000000 + Hash: 5d761c25fffa91ce99c0c254709db5b2 m_OptimizeCatalogSize: 0 m_BuildRemoteCatalog: 0 m_CatalogRequestsTimeout: 0 diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 7e46357..0df04f8 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -2784,7 +2784,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0} m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 2756, y: -25.000015} + m_AnchoredPosition: {x: 2756, y: -25} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} --- !u!61 &85415561 @@ -14471,6 +14471,7 @@ MonoBehaviour: m_Content: {fileID: 316469230} go_card: {fileID: 1916009440758343544, guid: ff3f5d803131c674195b92a44d19187f, type: 3} Day7: {fileID: 47479593} + i_btn: {fileID: 67678377} --- !u!1 &389757617 GameObject: m_ObjectHideFlags: 0 @@ -15699,7 +15700,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0} m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -2756, y: -25.000015} + m_AnchoredPosition: {x: -2756, y: -25} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} --- !u!61 &420248622 @@ -60764,7 +60765,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: -55.77272} + m_AnchoredPosition: {x: 0, y: -55.772705} m_SizeDelta: {x: 0, y: -111.5455} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1630921640 diff --git a/Assets/Scripts/UI/AttandanceUI.cs b/Assets/Scripts/UI/AttandanceUI.cs index 8fc0945..89c89f4 100644 --- a/Assets/Scripts/UI/AttandanceUI.cs +++ b/Assets/Scripts/UI/AttandanceUI.cs @@ -1,6 +1,9 @@ +using UnityEngine.UI; + public class AttandanceUI : uScrollViewMgr { public AttandacneCard Day7; + public Image i_btn; public void Set() { @@ -8,6 +11,7 @@ public class AttandanceUI : uScrollViewMgr var lst = table_attandance.Ins.Get_DataList(); Set_ScrollView(lst.FindAll(f=>f.n_Day < 7)); Day7.Set(lst.Find(f => f.n_Day == 7)); + i_btn.sprite = UIAtlasMgr.Ins.Get_Sprite(SaveMgr.Ins.CanGet_Attandance() ? "red btn_daily" : "gray btn"); } public void OnClick_Get()