public void GenerateFromThread(int index, string _text, float time = 3, int mode = 0) { SBPram sbPram = new SBPram { index = index, _text = _text, time = time, mode = mode, }; sbbuffer.Add(sbPram); }
public SpeechBubble Generate(SBPram sbPram) { return(Generate(sbPram.index, sbPram._text, sbPram.time, sbPram.mode)); }