|
Corgi Engine v9.4
|
A simple class used to store additive loading settings. More...
Public Types | |
| enum | UnloadMethods { None , ActiveScene , AllScenes } |
| the possible ways to unload scenes More... | |
Public Attributes | |
| string | LoadingSceneName = "MMAdditiveLoadingScreen" |
| the name of the MMSceneLoadingManager scene you want to use when in additive mode | |
| ThreadPriority | ThreadPriority = ThreadPriority.High |
| when in additive loading mode, the thread priority to apply to the loading | |
| bool | SecureLoad = true |
| whether or not to make additional sanity checks (better leave this to true) | |
| bool | InterpolateProgress = true |
| when in additive loading mode, whether or not to interpolate the progress bar's progress | |
| float | BeforeEntryFadeDelay = 0f |
| when in additive loading mode, when in additive loading mode, the duration (in seconds) of the delay before the entry fade | |
| float | EntryFadeDuration = 0.25f |
| when in additive loading mode, the duration (in seconds) of the entry fade | |
| float | AfterEntryFadeDelay = 0.1f |
| when in additive loading mode, the duration (in seconds) of the delay before the entry fade | |
| float | BeforeSceneActivationDelay = 0.25f |
| when in additive loading mode, the duration (in seconds) of the delay before the scene gets activated | |
| float | AfterSceneActivationDelay = 0f |
| when in additive loading mode, the duration (in seconds) after the scene is loaded and before the fade starts | |
| float | ExitFadeDuration = 0.2f |
| when in additive loading mode, the duration (in seconds) of the exit fade | |
| MMTweenType | EntryFadeTween = null |
| when in additive loading mode, when in additive loading mode, the tween to use to fade on entry | |
| MMTweenType | ExitFadeTween = null |
| when in additive loading mode, the tween to use to fade on exit | |
| float | ProgressBarSpeed = 5f |
| when in additive loading mode, the speed at which the loader's progress bar should move | |
| List< MMSceneLoadingSpeedInterval > | SpeedIntervals |
| a list of progress intervals (values should be between 0 and 1) and their associated speeds, letting you have the bar progress less linearly | |
| bool | DebugMode = false |
| whether or not to display debug logs of the loading sequence | |
| MMAdditiveSceneLoadingManager.FadeModes | FadeMode = MMAdditiveSceneLoadingManager.FadeModes.FadeInThenOut |
| when in additive loading mode, the selective additive fade mode | |
| UnloadMethods | UnloadMethod = UnloadMethods.AllScenes |
| the chosen way to unload scenes (none, only the active scene, all loaded scenes) | |
| string | AntiSpillSceneName = "" |
A simple class used to store additive loading settings.
It provides a nice load sequence, entirely customizable, here's the high level sequence breakdown:
| float MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.AfterEntryFadeDelay = 0.1f |
when in additive loading mode, the duration (in seconds) of the delay before the entry fade
| float MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.AfterSceneActivationDelay = 0f |
when in additive loading mode, the duration (in seconds) after the scene is loaded and before the fade starts
| string MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.AntiSpillSceneName = "" |
the name of the anti spill scene to use when loading additively. If left empty, that scene will be automatically created, but you can specify any scene to use for that. Usually you'll want your own anti spill scene to be just an empty scene, but you can customize its lighting settings for example.
| float MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.BeforeEntryFadeDelay = 0f |
when in additive loading mode, when in additive loading mode, the duration (in seconds) of the delay before the entry fade
| float MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.BeforeSceneActivationDelay = 0.25f |
when in additive loading mode, the duration (in seconds) of the delay before the scene gets activated
| bool MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.DebugMode = false |
whether or not to display debug logs of the loading sequence
| float MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.EntryFadeDuration = 0.25f |
when in additive loading mode, the duration (in seconds) of the entry fade
| MMTweenType MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.EntryFadeTween = null |
when in additive loading mode, when in additive loading mode, the tween to use to fade on entry
| float MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.ExitFadeDuration = 0.2f |
when in additive loading mode, the duration (in seconds) of the exit fade
| MMTweenType MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.ExitFadeTween = null |
when in additive loading mode, the tween to use to fade on exit
| MMAdditiveSceneLoadingManager.FadeModes MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.FadeMode = MMAdditiveSceneLoadingManager.FadeModes.FadeInThenOut |
when in additive loading mode, the selective additive fade mode
| bool MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.InterpolateProgress = true |
when in additive loading mode, whether or not to interpolate the progress bar's progress
| string MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.LoadingSceneName = "MMAdditiveLoadingScreen" |
the name of the MMSceneLoadingManager scene you want to use when in additive mode
| float MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.ProgressBarSpeed = 5f |
when in additive loading mode, the speed at which the loader's progress bar should move
| bool MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.SecureLoad = true |
whether or not to make additional sanity checks (better leave this to true)
| List<MMSceneLoadingSpeedInterval> MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.SpeedIntervals |
a list of progress intervals (values should be between 0 and 1) and their associated speeds, letting you have the bar progress less linearly
| ThreadPriority MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.ThreadPriority = ThreadPriority.High |
when in additive loading mode, the thread priority to apply to the loading
| UnloadMethods MoreMountains.Tools.MMAdditiveSceneLoadingManagerSettings.UnloadMethod = UnloadMethods.AllScenes |
the chosen way to unload scenes (none, only the active scene, all loaded scenes)