Пример #1
0
 public static SubScene CreateSubSceneFromObjects(ref TestWithTempAssets testAssets, string name, bool keepOpen, Func <List <GameObject> > createObjects)
 {
     return(CreateSubSceneInSceneFromObjects(name, keepOpen, CreateTmpScene(ref testAssets), createObjects));
 }
Пример #2
0
        public static Scene CreateTmpScene(ref TestWithTempAssets testAssets)
        {
            var parentScenePath = testAssets.GetNextPath() + ".unity";

            return(CreateScene(parentScenePath));
        }