public TextPlayerEngine(GeneratedTextDimensionsComponent GeneratedTextDimensionsComponent, GeneratedTextDimensions GeneratedTextDimensions) { this.GeneratedTextDimensionsComponent = GeneratedTextDimensionsComponent; this.GeneratedTextDimensions = GeneratedTextDimensions; this.VisibleQuadTotalCounter = 0; }
public ProceduralText(string initialRawText, GeneratedTextDimensionsComponent GeneratedTextDimensionsComponent, Text textAreaText, ProceduralTextParametersV2 ProceduralTextParametersV2 = null) { this.initialRawText = initialRawText; this.transformedInitialRawText = Regex.Unescape(this.initialRawText); this.ProceduralTextParametersV2 = ProceduralTextParametersV2; #region Special Character Image mapping if (this.ProceduralTextParametersV2 != null) { this.transformedInitialRawText = this.ProceduralTextParametersV2.ParseParameters(this.transformedInitialRawText); } #endregion this.textDimensions = new GeneratedTextDimensions(GeneratedTextDimensionsComponent); this.TextPlayerEngine = new TextPlayerEngine(GeneratedTextDimensionsComponent, this.textDimensions); this.TextMesh = new TextMesh(textAreaText); }
public GeneratedTextDimensions(GeneratedTextDimensionsComponent GeneratedTextDimensionsComponent) { this.GeneratedTextDimensionsComponent = GeneratedTextDimensionsComponent; }