public DialogueSetInstance(DialogueSet dialogueSet) { this.dialogueSet = dialogueSet; playingDialogues = new Queue <Dialogue>(); hideNames = new HashSet <string>(); }
public override void LoadAsset(string key) { assets[key].loadedAsset = true; DialogueSet deserialized = Deserialize(assets[key].fileName); if (deserialized == null) { Logger.GetOrCreate("BrUtility").Log(Logger.LogLevel.Error, "Could not load a dialogue asset by name of " + assets[key].fileName + ". Is the file missing, or is the json incorrect?"); } assets[key].asset = deserialized; }