private void Start() { this.contentTransform = (RectTransform)content.transform; this.contentWidth = contentTransform.sizeDelta.x; for (int i = 0; i < initialLines; i++) { LogEntry newEntry = new LogEntry("System: ", "Test adding event blab" + i + "mmmm%mmmm% mmmm% mmmm%mmmm%mmmm% &mmmm%mmmm% mmmm% mmmm%mmmm%mmmm% "); addEvent(newEntry); } addEvent(LogEntryFactory.createBattleLogEntry("Goblin inflicts 10 DMG to Player 1")); addEvent(LogEntryFactory.createDialogueLogEntry("Run for your lives! The goblins are attacking!")); addEvent(LogEntryFactory.createSystemLogEntry("System reset in 10 minutes.")); addEvent(LogEntryFactory.createWorldEventLogEntry("The Goblins have declared War on the small town.")); }