private void ResetDialogueSet() { if (_DialogueSets != null) { foreach (DialogueSet objSet in _DialogueSets) { objSet.Clear(); } _DialogueSets.Clear(); _TotalDialogueSet.Clear(); _UnknownDialogueSet.Clear(); } for (int i = 0; i < Dialogue.Lable_COUNT; i++) { _DialogueSets.Add(new DialogueSet(i)); _DialogueSets[i].Lable = i; } _TotalDialogueSet = new DialogueSet(); _TotalDialogueSet.Lable = (int)Dialogue.LableType.ALL; _UnknownDialogueSet = new DialogueSet(); _UnknownDialogueSet.Lable = (int)Dialogue.LableType.UNKNOWN; }
public void Drop() { _Helper.DropAndCreate(Application.Context); _OnMemoryLables.Clear(); }