앨범 데이터 및 블러
This commit is contained in:
parent
bafba018f0
commit
f50254401e
|
|
@ -339,6 +339,7 @@ MonoBehaviour:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
i_girl: {fileID: 4409227361096382540}
|
i_girl: {fileID: 4409227361096382540}
|
||||||
t_price: {fileID: 0}
|
t_price: {fileID: 0}
|
||||||
|
mat_blur: {fileID: 2100000, guid: edc74ead8b0531c4f8bbb7f145978360, type: 2}
|
||||||
--- !u!1 &8113042082887579480
|
--- !u!1 &8113042082887579480
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
||||||
|
|
@ -115,6 +115,8 @@ public class SaveMgr : MonoBehaviourSingletonTemplate<SaveMgr>
|
||||||
m_SaveData.AttendanceDoY = InternetTime.Ins.Time.DayOfYear;
|
m_SaveData.AttendanceDoY = InternetTime.Ins.Time.DayOfYear;
|
||||||
Save();
|
Save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int Get_UnLockIndex() { return m_SaveData.GirlUnLockIndex; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SaveData
|
public class SaveData
|
||||||
|
|
@ -123,6 +125,7 @@ public class SaveData
|
||||||
|
|
||||||
ProtectedInt32 _LastDoY; public int LastDoY { get { return _LastDoY; } set { _LastDoY = value; _LastDoY.Obfuscate(); } }
|
ProtectedInt32 _LastDoY; public int LastDoY { get { return _LastDoY; } set { _LastDoY = value; _LastDoY.Obfuscate(); } }
|
||||||
ProtectedInt32 _GirlSelectIndex; public int GirlSelectIndex { get { return _GirlSelectIndex; } set { _GirlSelectIndex = value; _GirlSelectIndex.Obfuscate(); } }
|
ProtectedInt32 _GirlSelectIndex; public int GirlSelectIndex { get { return _GirlSelectIndex; } set { _GirlSelectIndex = value; _GirlSelectIndex.Obfuscate(); } }
|
||||||
|
ProtectedInt32 _GirlUnLockIndex; public int GirlUnLockIndex { get { return _GirlUnLockIndex; } set { _GirlUnLockIndex = value; _GirlUnLockIndex.Obfuscate(); } }
|
||||||
ProtectedInt32 _AttendanceDoY; public int AttendanceDoY { get { return _AttendanceDoY; } set { _AttendanceDoY = value; _AttendanceDoY.Obfuscate(); } }
|
ProtectedInt32 _AttendanceDoY; public int AttendanceDoY { get { return _AttendanceDoY; } set { _AttendanceDoY = value; _AttendanceDoY.Obfuscate(); } }
|
||||||
ProtectedInt32 _Attendance; public int Attendance { get { return _Attendance; } set { _Attendance = value; _Attendance.Obfuscate(); } }
|
ProtectedInt32 _Attendance; public int Attendance { get { return _Attendance; } set { _Attendance = value; _Attendance.Obfuscate(); } }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ public class AlbumCard : CardBase
|
||||||
{
|
{
|
||||||
public Image i_girl;
|
public Image i_girl;
|
||||||
public TextMeshProUGUI t_price;
|
public TextMeshProUGUI t_price;
|
||||||
|
public Material mat_blur;
|
||||||
|
|
||||||
albumtabledata m_Data;
|
albumtabledata m_Data;
|
||||||
AsyncOperationHandle m_Handle;
|
AsyncOperationHandle m_Handle;
|
||||||
|
|
@ -26,6 +27,11 @@ public class AlbumCard : CardBase
|
||||||
m_Handle = handle;
|
m_Handle = handle;
|
||||||
i_girl.enabled = true;
|
i_girl.enabled = true;
|
||||||
i_girl.sprite = handle.Result;
|
i_girl.sprite = handle.Result;
|
||||||
|
|
||||||
|
if (m_Data.n_Index > SaveMgr.Ins.Get_UnLockIndex())
|
||||||
|
i_girl.material = mat_blur;
|
||||||
|
else
|
||||||
|
i_girl.material = null;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue