Class SerenityBootTaskCatalog
Resolves the ordered initialization-pipeline task asset paths from the shipped NO_CUTSCENES profile, so
a generated boot scene's MinimalLoopOptions.BootTaskAssetPaths can be filled from real project
data instead of staying empty. Reads the profile's Tasks array via UnityEditor.SerializedObject
rather than a typed UnityInitializationPipelineProfile reference, so the Create Game module does
not need an asmdef dependency on the InitializationPipeline module for this one read.
Inherited Members
Namespace: Serenity.CreateGame.Infrastructure.Editor
Assembly: Serenity.UnityCreateGame.Infrastructure.Editor.dll
Syntax
public static class SerenityBootTaskCatalog
Methods
TryResolveBootTaskAssetPaths(out IReadOnlyList<string>, out string)
Resolves the ordered task asset paths from Serenity.CreateGame.Infrastructure.Editor.SerenityBootTaskCatalog.ShippedProfilePath. Returns false
with an empty list and a caller-visible error when the profile is missing or its
serialized layout no longer matches.
Declaration
public static bool TryResolveBootTaskAssetPaths(out IReadOnlyList<string> taskAssetPaths, out string error)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<string> | taskAssetPaths | |
| string | error |
Returns
| Type | Description |
|---|---|
| bool |