public void Add_Activity(Activity _input) { if (!activities.Contains(_input)) { activities.Add(_input); Save(activities, ACTIVITY); Dropdown_Activity.Update_All(); } }
public void Remove_Activity(Activity _input) { try { activities.Remove(_input); Save(activities, ACTIVITY); Dropdown_Activity.Update_All(); } catch { Debug.Log("Remove_Activity: 존재하지 않는 액티비티 " + _input.name); } }
public void Remove_Activity(int _index) { try { activities.RemoveAt(_index); Save(activities, ACTIVITY); Dropdown_Activity.Update_All(); } catch { Debug.Log("Remove_Activity: 존재하지 않는 인덱스 " + _index); } }