| | |
| | | [SerializeField] Text m_FreePoint;
|
| | | [SerializeField] Button m_Recommend;
|
| | | [SerializeField] Button m_Confirm;
|
| | | [SerializeField] Button m_Rule;
|
| | |
|
| | | Dictionary<int, int> currentPropertyDict = new Dictionary<int, int>();
|
| | | Dictionary<int, int> upPropertyDict = new Dictionary<int, int>();
|
| | |
| | | {
|
| | | m_Recommend.AddListener(OnRecommend);
|
| | | m_Confirm.AddListener(Confirm);
|
| | | m_Rule.AddListener(OnRule);
|
| | |
|
| | | m_NumKeyboard.onValueChange.AddListener(OnPointValChange);
|
| | | m_NumKeyboard.onConfirm.AddListener((bool isOk) =>
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private void OnRule()
|
| | | {
|
| | | ModelCenter.Instance.GetModel<HowToPlayModel>().ruleId = 44;
|
| | | WindowCenter.Instance.Open<ReikiRootRuleWin>();
|
| | | }
|
| | |
|
| | | private void OnCacheFreePointRefresh()
|
| | | {
|
| | | DisplayFreePoint();
|
| | |
| | | {
|
| | | if (dataType == PlayerDataType.FreePoint)
|
| | | {
|
| | | foreach (var reikiRootPoint in m_ReikiRootPoints)
|
| | | {
|
| | | reikiRootPoint.point = 0;
|
| | | }
|
| | | if (model.cacheFreePoint == model.freePoint)
|
| | | {
|
| | | OnCacheFreePointRefresh();
|