void PrintToUI() { ScaleText scaler = GameObject.FindGameObjectWithTag("TextContent").GetComponent <ScaleText>(); foreach (var line in lines) { scaler.SetText(line); } }
public void PrintToUI(string newLine) { ScaleText scaler = GameObject.FindGameObjectWithTag("TextContent").GetComponent <ScaleText>(); scaler.SetText(newLine + "\n"); }
public void PrintInt(dynamic val) { inputPanel.SetActive(true); outputText.text = Convert.ToString(val); consoleText.SetText(Convert.ToString(val) + "\n"); }