public static SubScene CreateSubSceneFromObjects(ref TestWithTempAssets testAssets, string name, bool keepOpen, Func <List <GameObject> > createObjects) { return(CreateSubSceneInSceneFromObjects(name, keepOpen, CreateTmpScene(ref testAssets), createObjects)); }
public static Scene CreateTmpScene(ref TestWithTempAssets testAssets) { var parentScenePath = testAssets.GetNextPath() + ".unity"; return(CreateScene(parentScenePath)); }