Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public DisplayAllTextWindow(GameObject parent, string textToDisplay, ProceduralTextWindowDefinition ProceduralTextWindowDefinition, ProceduralTextParametersV2 ProceduralTextParametersV2 = null)
 {
     this.ProceduralTextWindow = new ProceduralTextWindow(parent, textToDisplay, ProceduralTextWindowDefinition, ProceduralTextParametersV2);
     this.ProceduralTextWindow.GenerateAndDisplayAllText();
 }