public void Setup(StoryboardObjectGenerator generator, FontGenerator font, int startTime, int endTime, string layerText, float x, float y, bool originCentre, int fontSize, float textFade, int FadeIn, int FadeOut, Color4 textColor, bool showBox, float boxFade, Color4 boxColor, string layerBox, int sampleDelay, string sampleName, DialogBoxes.Pointer pointer, DialogBoxes.Push push) { this.generator = generator; this.font = font; this.x = x; this.y = y; this.fontSize = fontSize; this.layerText = layerText; this.layerBox = layerBox; this.startTime = startTime; this.endTime = endTime; this.originCentre = originCentre; this.textColor = textColor; this.boxColor = boxColor; this.showBox = showBox; this.boxFade = boxFade; this.textFade = textFade; this.sampleDelay = sampleDelay; this.sampleName = sampleName; this.pointer = pointer; this.push = push; this.FadeIn = FadeIn; this.FadeOut = FadeOut; // Generate(sentences, FadeIn, FadeOut); }
public DialogManager(StoryboardObjectGenerator generator, FontGenerator font, int startTime, int endTime, string layerText, float x, float y, bool originCentre, int fontSize, float textFade, int FadeIn, int FadeOut, Color4 textColor, bool showBox, float boxFade, Color4 boxColor, string layerBox, int sampleDelay, string sampleName, DialogBoxes.Pointer pointer, DialogBoxes.Push push, string[] sentences) { Setup(generator, font, startTime, endTime, layerText, x, y, originCentre, fontSize, textFade, FadeIn, FadeOut, textColor, showBox, boxFade, boxColor, layerBox, sampleDelay, sampleName, pointer, push); Generate(sentences, FadeIn, FadeOut); }