void SaveAddSkill() { character.dataModel.userSkillCount += character.dataModel.skillCount - SkillCount; character.dataModel.baseAttribute.AddSkill(AddSkillAry); character.dataModel.skillCount = SkillCount; OnUpdateAddSkill(); SaveSprite.SetCharacterAttribute(character.dataModel); }
void SaveAddAttribute() { character.dataModel.userAttributeCount += character.dataModel.attributeCount - AttributeCount; character.dataModel.baseAttribute += AddAttributeModel; character.dataModel.attributeCount = AttributeCount; AddAttributeModel.Clear(); OnUpddateAddAttribute(); SaveSprite.SetCharacterAttribute(character.dataModel); }