public void SetUpSteps() { AddStep("load chat display", () => Child = chatDisplay = new GameplayChatDisplay(new Room()) { Anchor = Anchor.Centre, Origin = Anchor.Centre, Width = 0.5f, }); AddStep("expand", () => chatDisplay.Expanded.Value = true); }
public override void SetUpSteps() { base.SetUpSteps(); AddStep("load chat display", () => Child = chatDisplay = new GameplayChatDisplay(SelectedRoom.Value) { Anchor = Anchor.Centre, Origin = Anchor.Centre, Width = 0.5f, }); AddStep("expand", () => chatDisplay.Expanded.Value = true); }