public void UpdateActivation(int skillSetLevelIndex, int skillSetIndex, string skillTree) { // try // { UpdateLevelFields(skillSetLevelIndex, skillSetIndex, skillTree, "activated", "true"); playerData.ConsumeSkillPoints((int)GetSkillSetLevelFields(skillSetLevelIndex, skillSetIndex, skillTree, "required_skillpoints")); // } // catch ( // System.NullReferenceException // ) // { // Debug.Log("Error-Try Update Activation, null reference exception"); // return false; // } //TODO: CALL PROPERTIES OBJECT AND RAISE EVENT WHERE YOU PASS THE PROPERTIES OBJECT }