public CreateEnvironmentOptions(SPath?basePath = null) { SPath path = basePath ?? SPath.SystemTemp.Combine(ApplicationInfo.ApplicationName); path.EnsureDirectoryExists(); Extensionfolder = path.Combine(DefaultExtensionFolder); UserProfilePath = path.Combine(DefaultUserProfilePath); UnityProjectPath = path.Combine(DefaultUnityProjectPathAndRepositoryPath).EnsureDirectoryExists(); RepositoryPath = path.Combine(DefaultUnityProjectPathAndRepositoryPath); Extensionfolder.EnsureDirectoryExists(); UserProfilePath.EnsureDirectoryExists(); }