Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

SceneReference Constructor #7

@fpdotmonkey

Description

@fpdotmonkey

It'd be nice for test automation to have a constructor that took a path to a scene. Something like this.

void TestSceneThing()
{
    SceneReference scene = new SceneReference("/Assets/Scenes/TestScenes/test_scene_1.unity");
    bool weDidStuffToTheScene = thing.DoStuffTo(scene);
    Assert.That(weDidStuffToTheScene, Is.True);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions