public override void SetUpSteps() { base.SetUpSteps(); AddStep("add editor overlay", () => { skinEditor?.Expire(); LoadComponentAsync(skinEditor = new SkinEditor(Player), Add); }); }
public override void SetUpSteps() { base.SetUpSteps(); AddStep("reload skin editor", () => { skinEditor?.Expire(); Player.ScaleTo(SkinEditorOverlay.VISIBLE_TARGET_SCALE); LoadComponentAsync(skinEditor = new SkinEditor(Player), Add); }); }
public override void SetUpSteps() { base.SetUpSteps(); AddStep("reload skin editor", () => { skinEditor?.Expire(); Player.ScaleTo(0.4f); LoadComponentAsync(skinEditor = new SkinEditor(Player), Add); }); AddUntilStep("wait for loaded", () => skinEditor.IsLoaded); }