Ejemplo n.º 1
0
    public void Add_Activity(Activity _input)
    {
        if (!activities.Contains(_input))
        {
            activities.Add(_input);
            Save(activities, ACTIVITY);

            Dropdown_Activity.Update_All();
        }
    }
Ejemplo n.º 2
0
    public void Remove_Activity(Activity _input)
    {
        try
        {
            activities.Remove(_input);
            Save(activities, ACTIVITY);

            Dropdown_Activity.Update_All();
        }
        catch
        {
            Debug.Log("Remove_Activity: 존재하지 않는 액티비티 " + _input.name);
        }
    }
Ejemplo n.º 3
0
    public void Remove_Activity(int _index)
    {
        try
        {
            activities.RemoveAt(_index);
            Save(activities, ACTIVITY);

            Dropdown_Activity.Update_All();
        }
        catch
        {
            Debug.Log("Remove_Activity: 존재하지 않는 인덱스 " + _index);
        }
    }