public ProceduralTextWindow(GameObject parent, string textToDisplay, ProceduralTextWindowDefinition ProceduralTextWindowDefinition, ProceduralTextParametersV2 ProceduralTextParametersV2 = null) { this.ProceduralTextWindowDefinition = ProceduralTextWindowDefinition; this.ProceduralTextWindowGameObject = new ProceduralTextWindowGameObject(parent, ProceduralTextWindowDefinition); this.ProceduralText = new ProceduralText(textToDisplay, ProceduralTextWindowDefinition.GeneratedTextDimensionsComponent, this.ProceduralTextWindowGameObject.TextComponent, ProceduralTextParametersV2); this.ElapsedTime = 0f; }
public DisplayAllTextWindow(GameObject parent, string textToDisplay, ProceduralTextWindowDefinition ProceduralTextWindowDefinition, ProceduralTextParametersV2 ProceduralTextParametersV2 = null) { this.ProceduralTextWindow = new ProceduralTextWindow(parent, textToDisplay, ProceduralTextWindowDefinition, ProceduralTextParametersV2); this.ProceduralTextWindow.GenerateAndDisplayAllText(); }