|
@@ -133,7 +133,7 @@ namespace GFGGame
|
|
EquipDataCache.cacher.setSceneObj(_sceneObject);
|
|
EquipDataCache.cacher.setSceneObj(_sceneObject);
|
|
}
|
|
}
|
|
_ui.m_comboBox.selectedIndex = CustomSuitDataManager.currentIndex;
|
|
_ui.m_comboBox.selectedIndex = CustomSuitDataManager.currentIndex;
|
|
- EquipDataCache.cacher.PutOnSuitSaved(CustomSuitDataManager.currentIndex);
|
|
|
|
|
|
+ EquipDataCache.cacher.PutOnSuitSavedByPos(CustomSuitDataManager.currentIndex);
|
|
// UpdateStepBtn();
|
|
// UpdateStepBtn();
|
|
// AddMemoryDressup();
|
|
// AddMemoryDressup();
|
|
Timers.inst.AddUpdate(CheckGuide);
|
|
Timers.inst.AddUpdate(CheckGuide);
|
|
@@ -186,7 +186,7 @@ namespace GFGGame
|
|
{
|
|
{
|
|
if (_stepIndex - 1 < 0) return;
|
|
if (_stepIndex - 1 < 0) return;
|
|
_stepIndex--;
|
|
_stepIndex--;
|
|
- EquipDataCache.cacher.PutOnSuitMemory(_dressMemory[_stepIndex]);
|
|
|
|
|
|
+ EquipDataCache.cacher.PutOnSuitSavedByData(_dressMemory[_stepIndex]);
|
|
_ui.m_comboBox.selectedIndex = _dressMemory[_stepIndex].pos;
|
|
_ui.m_comboBox.selectedIndex = _dressMemory[_stepIndex].pos;
|
|
UpdateStepBtn();
|
|
UpdateStepBtn();
|
|
}
|
|
}
|
|
@@ -194,14 +194,14 @@ namespace GFGGame
|
|
{
|
|
{
|
|
if (_stepIndex + 1 >= MAX_MEMORY_STEP) return;
|
|
if (_stepIndex + 1 >= MAX_MEMORY_STEP) return;
|
|
_stepIndex++;
|
|
_stepIndex++;
|
|
- EquipDataCache.cacher.PutOnSuitMemory(_dressMemory[_stepIndex]);
|
|
|
|
|
|
+ EquipDataCache.cacher.PutOnSuitSavedByData(_dressMemory[_stepIndex]);
|
|
_ui.m_comboBox.selectedIndex = _dressMemory[_stepIndex].pos;
|
|
_ui.m_comboBox.selectedIndex = _dressMemory[_stepIndex].pos;
|
|
UpdateStepBtn();
|
|
UpdateStepBtn();
|
|
|
|
|
|
}
|
|
}
|
|
private void OnComboBoxChanged()
|
|
private void OnComboBoxChanged()
|
|
{
|
|
{
|
|
- EquipDataCache.cacher.PutOnSuitSaved(_ui.m_comboBox.selectedIndex);
|
|
|
|
|
|
+ EquipDataCache.cacher.PutOnSuitSavedByPos(_ui.m_comboBox.selectedIndex);
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickListType1Item(EventContext context)
|
|
private void OnClickListType1Item(EventContext context)
|