Scylla Framework
  • API Reference
Search Results for

    Show / Hide Table of Contents
    • Scylla.Core
      • Char
      • FileLog
      • ILogReceiver
      • IScyllaDependencyProvider
      • Log
      • LogCategory
      • LogEntry
      • LogFileFormat
      • LogLevel
      • Num
      • ScyllaAAMode
      • ScyllaAAQuality
      • ScyllaBootstrap
      • ScyllaCore
      • ScyllaCore.Meta
      • ScyllaDependencyInfoData
      • ScyllaRenderPipeline
      • ScyllaShadowResolution
      • Str
      • TextAlignment
      • UnityConsoleLog
    • Scylla.Core.Attributes
      • AttributeValidator
      • CompareOperator
      • ConditionalAttributeBase
      • DisableIfAttribute
      • DisplayNameAttribute
      • EnableIfAttribute
      • FoldoutAttribute
      • FormerlySerializedAsAttribute
      • GroupAttribute
      • HideIfAttribute
      • HideInFilterWindowAttribute
      • HorizontalLineAttribute
      • InfoBoxAttribute
      • InfoType
      • LayerFieldAttribute
      • MinMaxRangeAttribute
      • MonoTextAreaAttribute
      • NotEmptyAttribute
      • NotNullAttribute
      • ReadOnlyAttribute
      • ReflectedTypeAttribute
      • RequiredAttribute
      • SceneFieldAttribute
      • ShowIfAttribute
      • SortingLayerFieldAttribute
      • TagFieldAttribute
      • TitleAttribute
      • ValidateInputAttribute
      • ValidationException
    • Scylla.Core.Config
      • ConfigFileManager
      • ConfigurationRegistry
      • ConfigurationSlotAttribute
      • ConfigurationValidationResult
      • ConsoleLoggingSettings
      • FileLogFormattingSettings
      • FileLoggingSettings
      • IConfigurationRegistry
      • ScyllaConfiguration
      • ScyllaCoreConfiguration
      • ScyllaEventConfiguration
      • ScyllaLoggerConfiguration
      • ValidationSeverity
    • Scylla.Core.Editor
      • CalendarDefinitionEditor
      • ClockDefinitionEditor
      • ColorGradientAssetEditor
      • ColorGradientReducer
      • ColorPaletteAssetEditor
      • DebugEventMonitor
      • DependencySourceType
      • DependencyStatus
      • EventFilterCategory
      • EventLogEntry
      • GameViewCapture
      • IScyllaShaderProvider
      • ScyllaAboutWindow
      • ScyllaBootstrapEditor
      • ScyllaConfigurationEditorBase
      • ScyllaCoreConfigurationEditor
      • ScyllaCoreDependencyProvider
      • ScyllaCoreShaderProvider
      • ScyllaDebugWindow
      • ScyllaDependencyDetector
      • ScyllaDependencyGraphElement
      • ScyllaDependencyInfo
      • ScyllaEditorBase
      • ScyllaEditorColors
      • ScyllaEditorConstants
      • ScyllaEditorIconNames
      • ScyllaEditorStyles
      • ScyllaEditorUSSClasses
      • ScyllaEventConfigurationEditor
      • ScyllaFontCharacterExtractorWindow
      • ScyllaGettingStartedWindow
      • ScyllaIconPreview
      • ScyllaLoggerConfigurationEditor
      • ScyllaLogoElement
      • ScyllaMenuItems
      • ScyllaModuleEditor
      • ScyllaModuleStatusIndicator
      • ScyllaModuleWindow
      • ScyllaPanel
      • ScyllaPresetSelector
      • ScyllaSceneConfigurationEditor
      • ScyllaScheduler
      • ScyllaSearchField
      • ScyllaSettingsProvider
      • ScyllaSetupWizard
      • ScyllaShaderInclusionBuildProcessor
      • ScyllaStatusBar
      • ScyllaTabBar
      • ScyllaTimeConfigurationEditor
      • ScyllaToolWindowBase
      • ScyllaToolbar
      • ScyllaWizardWindowBase
      • ScyllaWizardWindowBase.WizardLayout
      • ScyllaWizardWindowBase.WizardStepDef
    • Scylla.Core.Editor.Attributes
      • AttributeReflectionCache
      • ConditionalDrawerBase
      • DisableIfDrawer
      • EnableIfDrawer
      • FoldoutDrawer
      • HideIfDrawer
      • HorizontalLineDrawer
      • InfoBoxDrawer
      • LayerFieldDrawer
      • MinMaxRangeDrawer
      • MonoTextAreaDrawer
      • ReadOnlyDrawer
      • RequiredDrawer
      • SceneFieldDrawer
      • SerializedPropertyExtensions
      • ShowIfDrawer
      • SortingLayerFieldDrawer
      • TagFieldDrawer
      • TitleDrawer
    • Scylla.Core.Editor.Drawers
      • DoubleRangeDrawer
      • FloatRangeDrawer
      • IntRangeDrawer
    • Scylla.Core.Editor.Util.UI.Layout
      • ScyllaUIEdgeInsetsDrawer
      • ScyllaUILayoutMenuItems
      • ScyllaUILengthDrawer
    • Scylla.Core.Events
      • IScyllaEventBus
      • ScyllaEvent
      • ScyllaEventBus
      • ScyllaEventPriority
      • ScyllaEventSubscription
      • ScyllaEvents
      • ScyllaFrameworkInitializedEvent
      • ScyllaFrameworkShutdownEvent
      • ScyllaModuleShutdownEvent
      • ScyllaModuleStartedEvent
    • Scylla.Core.Modules
      • IScyllaModule
      • IScyllaModuleManager
      • ScyllaModule
      • ScyllaModuleDependency
      • ScyllaModuleDependencyType
      • ScyllaModuleException
      • ScyllaModuleID
      • ScyllaModuleInfo
      • ScyllaModuleManager
      • ScyllaModulePlacement
      • ScyllaModuleState
    • Scylla.Core.Scenes
      • HygieneOverride
      • SceneLoadOperation
      • SceneLoadRunner
      • SceneLoadState
      • ScyllaActiveSceneChangedEvent
      • ScyllaSceneConfiguration
      • ScyllaSceneLoadOptions
      • ScyllaSceneLoadProgressEvent
      • ScyllaSceneLoadedEvent
      • ScyllaSceneManager
      • ScyllaSceneUnloadedEvent
      • ScyllaSceneWillLoadEvent
      • ScyllaSceneWillUnloadEvent
    • Scylla.Core.Settings
      • ScyllaProjectSettings
    • Scylla.Core.Structures
      • FractionalHexCoord
      • GridUtil
      • HexCoord
      • HexCornerCoord
      • HexCornerMap<TData>
      • HexCornerMap<TData>.Enumerator
      • HexCornerPosition
      • HexEdgeCoord
      • HexEdgeDirection
      • HexEdgeMap<TData>
      • HexEdgeMap<TData>.Enumerator
      • HexGridLayout
      • HexLayoutMode
      • HexOrientation
      • IScyllaCollection
      • IScyllaCollection<T>
      • IScyllaGraph
      • IScyllaGrid<TCoord, TCell>
      • IScyllaMap<TKey, TValue>
      • IScyllaMutableGraph
      • IScyllaMutableGraph<TNodeData>
      • IScyllaMutableGraph<TNodeData, TEdgeData>
      • IScyllaPriorityQueueItem
      • IScyllaReadOnlyGraph
      • IScyllaReadOnlyGraph<TNodeData>
      • IScyllaReadOnlyGraph<TNodeData, TEdgeData>
      • IScyllaState<TContext>
      • IScyllaTrie
      • IScyllaTrie<TValue>
      • NeighborWriter<TCoord>
      • ScyllaAABB2
      • ScyllaAABB3
      • ScyllaAdjacencyListGraph
      • ScyllaAdjacencyListGraph.Builder
      • ScyllaAdjacencyListGraph.NodeEnumerator
      • ScyllaAdjacencyListGraph.SynchronizedScyllaAdjacencyListGraph
      • ScyllaAdjacencyListGraph<TNodeData>
      • ScyllaAdjacencyListGraph<TNodeData, TEdgeData>
      • ScyllaBVH
      • ScyllaBVH.Builder
      • ScyllaBVHCore
      • ScyllaBitArray
      • ScyllaBitArray.Builder
      • ScyllaBitArray.Enumerator
      • ScyllaBitArray.SynchronizedScyllaBitArray
      • ScyllaBitArrayDOTS
      • ScyllaBitArrayDOTS.Builder
      • ScyllaBitArrayDOTS.Enumerator
      • ScyllaCSRGraph
      • ScyllaCSRGraph.Builder
      • ScyllaCSRGraph<TNodeData>
      • ScyllaCSRGraph<TNodeData, TEdgeData>
      • ScyllaCollectionCapabilities
      • ScyllaCollectionThreadSafety
      • ScyllaCompositeState<TContext>
      • ScyllaDequeDOTS<T>
      • ScyllaDequeDOTS<T>.Builder
      • ScyllaDeque<T>
      • ScyllaDeque<T>.Builder
      • ScyllaDeque<T>.Enumerator
      • ScyllaDeque<T>.SynchronizedScyllaDeque
      • ScyllaDisjointSet
      • ScyllaDisjointSet.Builder
      • ScyllaDisjointSet.SynchronizedScyllaDisjointSet
      • ScyllaDisjointSetDOTS
      • ScyllaDisjointSetDOTS.Builder
      • ScyllaGenericObjectPool<T>
      • ScyllaGenericObjectPool<T>.Builder
      • ScyllaGenericObjectPool<T>.Enumerator
      • ScyllaGenericObjectPool<T>.SynchronizedScyllaGenericObjectPool
      • ScyllaGraphAlgorithms
      • ScyllaGraphDOTS
      • ScyllaGraphDOTS.Builder
      • ScyllaGraphEdge
      • ScyllaGraphEdge<TEdgeData>
      • ScyllaGraphNode
      • ScyllaGraphNodeFlags
      • ScyllaGraphPath
      • ScyllaGraphProperties
      • ScyllaGraphSearchState
      • ScyllaGridGraphAdapter<TCoord, TCell>
      • ScyllaHexGrid<TCell>
      • ScyllaHexGrid<TCell>.Builder
      • ScyllaHexGrid<TCell>.Enumerator
      • ScyllaHexGrid<TCell>.SynchronizedScyllaHexGrid
      • ScyllaHierarchicalStateMachine<TContext>
      • ScyllaKDTree3
      • ScyllaKDTree3.Builder
      • ScyllaKDTree3Core
      • ScyllaKDTree3Core.Node
      • ScyllaLooseOctree
      • ScyllaLooseOctree.Builder
      • ScyllaLooseOctreeCore
      • ScyllaLooseOctreeUtil
      • ScyllaLooseOctree<T>
      • ScyllaLooseQuadtree
      • ScyllaLooseQuadtree.Builder
      • ScyllaLooseQuadtreeCore
      • ScyllaLooseQuadtreeUtil
      • ScyllaLooseQuadtree<T>
      • ScyllaMapDOTS<TKey, TValue>
      • ScyllaMapDOTS<TKey, TValue>.Builder
      • ScyllaMapEntry<TKey, TValue>
      • ScyllaMap<TKey, TValue>
      • ScyllaMap<TKey, TValue>.Builder
      • ScyllaMap<TKey, TValue>.Enumerator
      • ScyllaMap<TKey, TValue>.SynchronizedScyllaMap
      • ScyllaObjectPool<T>
      • ScyllaObjectPool<T>.Builder
      • ScyllaObjectPool<T>.Enumerator
      • ScyllaObjectPool<T>.SynchronizedScyllaObjectPool
      • ScyllaPriorityQueueDOTS<TValue>
      • ScyllaPriorityQueueDOTS<TValue>.Builder
      • ScyllaPriorityQueueItemComparer<T>
      • ScyllaPriorityQueueNode<TValue>
      • ScyllaPriorityQueueOrder
      • ScyllaPriorityQueue<T>
      • ScyllaPriorityQueue<T>.Builder
      • ScyllaPriorityQueue<T>.Enumerator
      • ScyllaPriorityQueue<T>.SynchronizedScyllaPriorityQueue
      • ScyllaQuadtreePlane
      • ScyllaQueueDOTS<T>
      • ScyllaQueueDOTS<T>.Builder
      • ScyllaQueue<T>
      • ScyllaQueue<T>.Builder
      • ScyllaQueue<T>.Enumerator
      • ScyllaQueue<T>.SynchronizedScyllaQueue
      • ScyllaRay3
      • ScyllaRingBufferDOTS<T>
      • ScyllaRingBufferDOTS<T>.Builder
      • ScyllaRingBufferDOTS<T>.Enumerator
      • ScyllaRingBufferDOTS<T>.ReverseEnumerable
      • ScyllaRingBufferDOTS<T>.ReverseEnumerator
      • ScyllaRingBuffer<T>
      • ScyllaRingBuffer<T>.Builder
      • ScyllaRingBuffer<T>.Enumerator
      • ScyllaRingBuffer<T>.ReverseEnumerable
      • ScyllaRingBuffer<T>.ReverseEnumerator
      • ScyllaRingBuffer<T>.SynchronizedScyllaRingBuffer
      • ScyllaSparseHexGrid<TCell>
      • ScyllaSparseHexGrid<TCell>.Builder
      • ScyllaSparseHexGrid<TCell>.Enumerator
      • ScyllaSparseHexGrid<TCell>.SynchronizedScyllaSparseHexGrid
      • ScyllaSparseSquareGrid<TCell>
      • ScyllaSparseSquareGrid<TCell>.Builder
      • ScyllaSparseSquareGrid<TCell>.Enumerator
      • ScyllaSparseSquareGrid<TCell>.SynchronizedScyllaSparseSquareGrid
      • ScyllaSparseTriGrid<TCell>
      • ScyllaSparseTriGrid<TCell>.Builder
      • ScyllaSparseTriGrid<TCell>.Enumerator
      • ScyllaSparseTriGrid<TCell>.SynchronizedScyllaSparseTriGrid
      • ScyllaSquareGrid<TCell>
      • ScyllaSquareGrid<TCell>.Builder
      • ScyllaSquareGrid<TCell>.Enumerator
      • ScyllaSquareGrid<TCell>.SynchronizedScyllaSquareGrid
      • ScyllaStackDOTS<T>
      • ScyllaStackDOTS<T>.Builder
      • ScyllaStack<T>
      • ScyllaStack<T>.Builder
      • ScyllaStack<T>.Enumerator
      • ScyllaStack<T>.SynchronizedScyllaStack
      • ScyllaStateBase<TContext>
      • ScyllaStateMachine<TContext>
      • ScyllaTriGrid<TCell>
      • ScyllaTriGrid<TCell>.Builder
      • ScyllaTriGrid<TCell>.Enumerator
      • ScyllaTriGrid<TCell>.SynchronizedScyllaTriGrid
      • ScyllaTrie
      • ScyllaTrie.Builder
      • ScyllaTrie.SynchronizedScyllaTrie
      • ScyllaTrie<TValue>
      • ScyllaTrie<TValue>.Builder
      • ScyllaTrie<TValue>.SynchronizedScyllaTrie
      • ScyllaTypeMap
      • ScyllaTypeMap.Builder
      • ScyllaTypeMap.SynchronizedScyllaTypeMap
      • SerializableDictionary<TKey, TValue>
      • SquareAdjacency
      • SquareCoord
      • SquareCornerCoord
      • SquareCornerMap<TData>
      • SquareCornerMap<TData>.Enumerator
      • SquareDistanceMetric
      • SquareEdgeCoord
      • SquareEdgeDirection
      • SquareEdgeMap<TData>
      • SquareEdgeMap<TData>.Enumerator
      • SquareGridLayout
      • TriCoord
      • TriCornerCoord
      • TriCornerMap<TData>
      • TriCornerMap<TData>.Enumerator
      • TriEdgeCoord
      • TriEdgeDirection
      • TriEdgeMap<TData>
      • TriEdgeMap<TData>.Enumerator
      • TriGridLayout
    • Scylla.Core.Time
      • CalendarDefinition
      • CalendarMath
      • ClockDayChangedEvent
      • ClockDebugInfo
      • ClockDefinition
      • ClockEraChangedEvent
      • ClockEvent
      • ClockEventKind
      • ClockHourChangedEvent
      • ClockMinuteChangedEvent
      • ClockMonthChangedEvent
      • ClockPausedEvent
      • ClockRegisteredEvent
      • ClockResumedEvent
      • ClockSeasonChangedEvent
      • ClockSecondChangedEvent
      • ClockState
      • ClockTickEvent
      • ClockTimeScaleChangedEvent
      • ClockUnregisteredEvent
      • ClockWeekdayChangedEvent
      • ClockYearChangedEvent
      • EraDefinition
      • GameDate
      • IClockListener
      • IClockSource
      • IEraConditionProvider
      • ILocationProfile
      • INetworkTimeSyncStrategy
      • ITimeListener
      • LeapYearRule
      • MasterTimeState
      • MonthDefinition
      • PauseMode
      • ScheduleExtensions
      • ScheduleMode
      • ScheduledTickHandle
      • ScyllaClock
      • ScyllaTime
      • ScyllaTimeConfiguration
      • ScyllaTimeDebugInfo
      • SeasonDefinition
      • SmoothTimeScaleTransition
      • TimeEffectHandle
      • TimeEffects
      • TimeEvent
      • TimeScaleBlendMode
      • TimeScaleModifier
      • TimeScaleModifierHandle
      • TimeScaleModifierStack
      • TimeScaleModifierState
      • TimeTickRunner
      • WeekdayDefinition
    • Scylla.Core.Util
      • ArrayUtil
      • AssemblyUtil
      • CameraUtil
      • CollectionUtil
      • ColorUtil
      • ComponentUtil
      • DateUtil
      • FontUtil
      • FontVariant
      • GameObjectExtensions
      • GameObjectUtil
      • InterfaceUtil
      • Interpolation
      • LightUtil
      • ManualResetEventEx
      • NumberExtensions
      • NumberUtil
      • OptionalPackages
      • PlatformUtil
      • ResourceUtil
      • SpriteUtil
      • StringUtil
      • TabularText
      • TabularText.Builder
      • TestTextGenerator
      • ThreadUtil
      • TimeUtil
      • Timer
      • TransformExtensions
      • TypeUtil
      • UnicodeRange
      • VirtualTransform
    • Scylla.Core.Util.Addressables
      • AddressableErrorCode
      • AddressableException
      • AddressableExtensions
      • AddressableProgress
      • AddressableResult
      • AddressableResult<T>
      • AddressableSettings
      • ManagedAddressableList<T>
      • ManagedAddressable<T>
      • ScyllaAddressables
    • Scylla.Core.Util.Checksum
      • ChecksumAdler32
      • ChecksumCRC16
      • ChecksumCRC32
      • ChecksumFletcher32
      • ChecksumXXHash32
      • ChecksumXXHash64
      • IChecksum
    • Scylla.Core.Util.Compression
      • ArchiveEntryInfo
      • CompressionAlgorithm
      • CompressionErrorCode
      • CompressionException
      • CompressionExtensions
      • CompressionLevel
      • CompressionProgress
      • CompressionResult
      • CompressionResult<T>
      • CompressionSettings
      • IArchiveProvider
      • ICompressionProvider
      • ScyllaCompression
    • Scylla.Core.Util.Crypto
      • CryptoAlgorithm
      • CryptoErrorCode
      • CryptoException
      • CryptoExtensions
      • CryptoSettings
      • ICryptoProvider
      • KeyDerivationHash
      • KeyDerivationSettings
      • ScyllaCrypto
    • Scylla.Core.Util.DebugDraw
      • DebugDraw
      • DebugDrawSpace
    • Scylla.Core.Util.Effects
      • ColorAnimationText
      • ColorAnimationTextDirection
      • ColorAnimationTextGradient
    • Scylla.Core.Util.File
      • ConfigFile
      • ConfigFileGroup
      • ConfigFileProperty
      • ConfigFilePropertyType
      • ConfigFileUtil
      • FileErrorCode
      • FileException
      • FileExtensions
      • FilePathExtensions
      • FilePathUtil
      • FileProgress
      • FileSettings
      • ImageFileFormat
      • ImageFileSettings
      • ScyllaFileUtil
    • Scylla.Core.Util.Geom
      • AABB3D
      • BarrelColoringMode
      • BollardColoringMode
      • CappedWallColoringMode
      • Capsule3D
      • ColliderMode
      • CrateColoringMode
      • Ellipse
      • FaceColoringMode
      • IFaceColorResolver
      • OBB3D
      • PaletteFaceColorResolver
      • PaneledWall1ColoringMode
      • PaneledWall2ColoringMode
      • PipeSegmentColoringMode
      • RoundedBoxColoringMode
      • ScyllaArchwayShape
      • ScyllaBarrelShape
      • ScyllaBollardShape
      • ScyllaBoxShape
      • ScyllaCappedWallShape
      • ScyllaCapsuleShape
      • ScyllaColumnShape
      • ScyllaConeShape
      • ScyllaCrateShape
      • ScyllaCurvedStairsShape
      • ScyllaCylinderShape
      • ScyllaDomeShape
      • ScyllaFloorTileShape
      • ScyllaIcoSphereShape
      • ScyllaLadderShape
      • ScyllaLinearStairsShape
      • ScyllaOctahedronShape
      • ScyllaPaneledWall1Shape
      • ScyllaPaneledWall2Shape
      • ScyllaPipeSegmentShape
      • ScyllaPipeShape
      • ScyllaPlaneShape
      • ScyllaPyramidShape
      • ScyllaQuadShape
      • ScyllaRampShape
      • ScyllaRingShape
      • ScyllaRoundedBoxShape
      • ScyllaShapeBase3D
      • ScyllaShapes
      • ScyllaShelvedWallShape
      • ScyllaSignShape
      • ScyllaSkirtedWallShape
      • ScyllaSkyDomeShape
      • ScyllaSphereShape
      • ScyllaSpiralStairsShape
      • ScyllaTorusShape
      • ScyllaTriangularPrismShape
      • ScyllaWallShape
      • ScyllaWallWithDoorShape
      • ScyllaWallWithWindowShape
      • ShapeMaterialCache
      • ShelvedWallColoringMode
      • SignColoringMode
      • Size2D
      • Size3D
      • SkirtedWallColoringMode
      • Sphere3D
      • StairsColoringMode
      • UniformColorResolver
    • Scylla.Core.Util.Math
      • Complex
      • MathUtil
      • Monomial
      • Polynomial
    • Scylla.Core.Util.Noise
      • CellularDistanceType
      • CellularReturnType
      • CellularSettings
      • FractalType
      • NoiseAlgorithm
      • NoiseCurlSampler
      • NoiseDomainWarper
      • NoiseGenerator
      • NoiseSettings
      • PixelNoise
      • PixelNoiseDistribution
      • PixelNoiseSettings
      • WarpSettings
    • Scylla.Core.Util.Palette
      • ColorAssetRegistry
      • ColorGradient
      • ColorGradientAlphaStop
      • ColorGradientAlphaStopData
      • ColorGradientAsset
      • ColorGradientColorSpace
      • ColorGradientData
      • ColorGradientMode
      • ColorGradientStop
      • ColorGradientStopData
      • ColorGradientStopInterpolation
      • ColorPalette
      • ColorPaletteAsset
      • ColorPaletteData
      • ColorPaletteEntry
      • ColorPaletteEntryData
      • ColorPaletteMapping
      • ColorPalettes
      • ColorRole
      • ColorStopBlendMode
      • ColorSwatchCollection
      • ColorSwatchCollectionAsset
      • ColorSwatchCollectionData
      • ColorSwatchEntryData
      • MutableColorGradient
      • MutableColorPalette
    • Scylla.Core.Util.ProceduralMapGen
      • BSPSettings
      • CellularAutomataSettings
      • CorridorStyle
      • DoorAxis
      • DoorPlacement
      • DoorPlacementSettings
      • DoorShapeConfig
      • DrunkardWalkSettings
      • FloorplanSettings
      • InstantiationResult
      • MapCellType
      • MapCorridor<TCoord>
      • MapGenResult<TCoord>
      • MapGenSettings
      • MapOverlaySettings
      • MapPatternType
      • MapRoom<TCoord>
      • MazeRoomSettings
      • MazeSettings
      • NoiseThresholdSettings
      • ProceduralMapGenerator
      • ProceduralMapOverlay
      • ProceduralMapPostProcessor
      • RoomCorridorSettings
      • RoomGroup
      • ScyllaProceduralMapInstantiator
      • VoronoiRegionSettings
      • WindingCorridorSettings
    • Scylla.Core.Util.Random
      • AliasTable
      • CryptoRandomSource
      • DiceRoll
      • IProbabilityInfluence
      • IRandomSource
      • MersenneTwister
      • MersenneTwisterState
      • PCG32
      • PCG32State
      • PickHistory
      • PickRecord
      • PoissonDiskSampler
      • PoissonDiskSampler.BoundChecker
      • ProbabilityEntry<T>
      • ProbabilityList<T>
      • ProbabilityNormalizer
      • RandomAlgorithm
      • RandomExtensions
      • RandomID
      • RandomSeeder
      • RandomText
      • RandomUtil
      • RandomUtil.DeterministicRNG
      • RandomUtil.DeterministicRNGState
      • RepeatPreventionMode
      • SelectionStrategy
      • SplitMix64RNG
      • SplitMix64State
      • SystemRandomSource
      • UnityRandomSource
      • Xoroshiro128Plus
      • Xoroshiro128State
      • Xoshiro256StarStar
      • Xoshiro256State
    • Scylla.Core.Util.Ranges
      • DoubleRange
      • FloatRange
      • IntRange
    • Scylla.Core.Util.Serialization
      • ArraySerializer<T>
      • BoolSerializer
      • BoundsSerializer
      • ByteArraySerializer
      • ByteSerializer
      • CharSerializer
      • Color32Serializer
      • ColorSerializer
      • DateTimeOffsetSerializer
      • DateTimeSerializer
      • DecimalSerializer
      • DefaultValueHandling
      • DictionarySerializer<TKey, TValue>
      • DoubleSerializer
      • EnumSerializer<T>
      • FloatSerializer
      • GuidSerializer
      • HashSetSerializer<T>
      • IScyllaReader
      • IScyllaWriter
      • ISerializationContext
      • ITypeSerializer
      • ITypeSerializer<T>
      • IntSerializer
      • LayerMaskSerializer
      • ListSerializer<T>
      • LongSerializer
      • NullHandling
      • PropertyMetadata
      • QuaternionSerializer
      • QueueSerializer<T>
      • RectIntSerializer
      • RectSerializer
      • ReferenceHandling
      • ReferenceTracker
      • ReflectionSerializer
      • SByteSerializer
      • ScyllaIgnoreAttribute
      • ScyllaIncludeAttribute
      • ScyllaJSONReader
      • ScyllaJSONWriter
      • ScyllaMigrationAttribute
      • ScyllaPropertyAttribute
      • ScyllaSerializableAttribute
      • ScyllaSerialization
      • SerializationContext
      • SerializationEngine
      • SerializationException
      • SerializationFormat
      • SerializationResult
      • SerializationResult<T>
      • SerializationSettings
      • SerializationSettings.Builder
      • SerializationToken
      • ShortSerializer
      • StackSerializer<T>
      • StringSerializer
      • TimeSpanSerializer
      • TypeMetadata
      • TypeMetadataCache
      • TypeSerializerAdapter<T>
      • TypeSerializerBase<T>
      • UIntSerializer
      • ULongSerializer
      • UShortSerializer
      • Vector2IntSerializer
      • Vector2Serializer
      • Vector3IntSerializer
      • Vector3Serializer
      • Vector4Serializer
    • Scylla.Core.Util.Tween
      • Ease
      • EaseType
      • ITween
      • LoopType
      • ScyllaShapeTweenExtensions
      • ScyllaTween
      • SequenceItem
      • SequenceItemType
      • TweenAudioSourceExtensions
      • TweenBase
      • TweenCanvasGroupExtensions
      • TweenColor
      • TweenErrorCode
      • TweenException
      • TweenExtensions
      • TweenFloat
      • TweenID
      • TweenLerp
      • TweenManager
      • TweenMaterialExtensions
      • TweenPool
      • TweenQuaternion
      • TweenRectTransformExtensions
      • TweenSequence
      • TweenSettings
      • TweenSpriteRendererExtensions
      • TweenState
      • TweenTransformExtensions
      • TweenVector2
      • TweenVector3
      • TweenVector4
      • Tween<T>
    • Scylla.Core.Util.UI
      • DebugCanvasUtil
      • GradientBackground
      • IUIText
      • IUITextField
      • LineScrollTextArea
      • LineScrollTextAreaBuilder
      • LineScrollTextBuffer
      • LineScrollTextBuffer.Builder
      • LineScrollTextBuffer.LogicalLine
      • LineScrollTextBufferLineAddedEvent
      • LineScrollTextBufferScrolledEvent
      • LineScrollWindow
      • LineScrollWindow.Enumerator
      • ScrollDirection
      • ScrollPhysics
      • ScrollTextArea
      • ScrollTextAreaBuilder
      • ScrollTextAreaDragEndedEvent
      • ScrollTextAreaDragStartedEvent
      • ScrollTextAreaScrolledEvent
      • ScrollTextBuffer
      • ScrollTextBuffer.Builder
      • ScrollTextBuffer.ScrollTextLine
      • ScrollTextBufferLineAddedEvent
      • ScrollTextLineView
      • ScyllaUIAdaptiveStack
      • ScyllaUIAlignment
      • ScyllaUIAspectBreakpoint
      • ScyllaUICrossAlignment
      • ScyllaUIEdgeInsets
      • ScyllaUIFitMode
      • ScyllaUIFlexElement
      • ScyllaUIGrid
      • ScyllaUIGridItem
      • ScyllaUIHStack
      • ScyllaUILayoutAnimator
      • ScyllaUILayoutDebugDraw
      • ScyllaUILayoutDebugDrawConfig
      • ScyllaUILayoutGizmos
      • ScyllaUILayoutRoot
      • ScyllaUILayoutStyle
      • ScyllaUILength
      • ScyllaUILengthUnit
      • ScyllaUIPositioned
      • ScyllaUIScreenMargin
      • ScyllaUISizeMode
      • ScyllaUISpacer
      • ScyllaUIStackBase
      • ScyllaUIText
      • ScyllaUITextGroup
      • ScyllaUITrack
      • ScyllaUITrackSizingMode
      • ScyllaUIVStack
      • ScyllaUIZStack
      • TMPSettings
      • TMPUtil
      • TextSelectionPosition
      • TextSelectionRange
      • UIAlignment
      • UIAnchor
      • UIAnchors
      • UIFontReference
      • UIFontStyle
      • UIMargin
      • UIPadding
      • UITextBuilder
      • UITextComponent
      • UITextFactory
      • UITextFieldBuilder
      • UITextFieldComponent
      • UIUtil
      • VisualLine
    • Scylla.Core.Util.Units
      • AreaUnit
      • DataUnit
      • LengthUnit
      • MassUnit
      • PressureUnit
      • SpeedUnit
      • TemperatureUnit
      • TimeFormat
      • TimeUnit

    Class ScyllaTime

    Centralized time management service for the Scylla Framework.

    Inheritance
    object
    ScyllaTime
    Implements
    IClockSource
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Scylla.Core.Time
    Assembly: ScyllaCore.dll
    Syntax
    public sealed class ScyllaTime : IClockSource
    Remarks

    ScyllaTime is a pure C# singleton (not a MonoBehaviour) that owns all time-related state for the application: the current base time scale, pause state, a layered modifier stack, an active smooth-transition driver, an in-process millisecond accumulator, and notifications to registered ITimeListener objects.

    The singleton is created by ScyllaBootstrap during its Awake phase via the internal Initialize(ScyllaTimeConfiguration) factory method, and destroyed during application quit via the internal Scylla.Core.Time.ScyllaTime.Shutdown() method. Game code must never construct or destroy this class directly.

    When running in play mode, Initialize(ScyllaTimeConfiguration) spawns a hidden TimeTickRunner MonoBehaviour that drives Tick(float) from Update using UnityEngine.Time.unscaledDeltaTime. In EditMode tests the runner is not spawned and callers may invoke Tick(float) manually.

    All time value properties (DeltaTime, TimeSinceStartup, etc.) are thin pass-throughs to UnityEngine.Time. Setting TimeScale updates the base scale; the actual UnityEngine.Time.timeScale applied to the engine is the base scale multiplied by the current TimeScaleModifierStack multiplier (when not paused).

    Configuration: All fields defined in ScyllaTimeConfiguration are enforced at runtime. MaxTimeScale clamps all time scale changes, AllowPause guards Pause(), RestoreTimeScaleOnResume controls resume behavior, and AdjustFixedTimestep synchronizes Time.fixedDeltaTime with effective-scale changes.

    Access the singleton via Instance:

    <pre><code class="lang-csharp">ScyllaTime.Instance.Pause();
    

    float dt = ScyllaTime.Instance.DeltaTime;

    Properties

    ClockCount

    Number of clocks currently registered with this service.

    Declaration
    public int ClockCount { get; }
    Property Value
    Type Description
    int

    Configuration

    Gets the ScyllaTimeConfiguration asset used to initialize this service instance.

    Declaration
    public ScyllaTimeConfiguration Configuration { get; }
    Property Value
    Type Description
    ScyllaTimeConfiguration

    The configuration asset supplied to Initialize(ScyllaTimeConfiguration), or null if no asset was provided and the service is running with built-in defaults (TimeScale starts at 1.0).

    See Also
    ScyllaTimeConfiguration

    CurrentPauseMode

    Gets the current pause mode. None when not paused; Hard or Soft when paused. Soft pause keeps clocks with RespectsGlobalPause = false ticking through the pause - useful for UI / menu animation clocks.

    Declaration
    public PauseMode CurrentPauseMode { get; }
    Property Value
    Type Description
    PauseMode

    CurrentTickMilliseconds

    Gets the in-process millisecond accumulator advanced by Tick(float) from unscaled real time. Used by IClockSource consumers that need a monotonic millisecond reference unaffected by time scale or pause.

    Declaration
    public long CurrentTickMilliseconds { get; }
    Property Value
    Type Description
    long

    DeltaTime

    Gets the time in seconds that has elapsed since the last frame, scaled by the current TimeScale.

    Declaration
    public float DeltaTime { get; }
    Property Value
    Type Description
    float

    A pass-through to UnityEngine.Time.deltaTime. Returns 0 while the game is paused because UnityEngine.Time.timeScale is 0 during a pause. Use UnscaledDeltaTime when pause-safe elapsed time is needed.

    EffectiveTimeScale

    Gets the effective time scale applied to UnityEngine.Time.timeScale after combining the base TimeScale with the active modifier stack. Returns 0 while paused.

    Declaration
    public float EffectiveTimeScale { get; }
    Property Value
    Type Description
    float
    Remarks

    When a master clock is registered, Tick(float) writes the master clock's EffectiveRate to UnityEngine.Time.timeScale instead of the modifier-derived rate. This property reflects that override so consumers reading EffectiveTimeScale always see the value actually in effect on the engine.

    Reads do not allocate.

    FixedDeltaTime

    Gets the interval in seconds at which the physics engine runs fixed-timestep updates, as set in Project Settings > Time > Fixed Timestep.

    Declaration
    public float FixedDeltaTime { get; }
    Property Value
    Type Description
    float

    A pass-through to UnityEngine.Time.fixedDeltaTime. The default Unity value is 0.02 seconds (50 Hz). When AdjustFixedTimestep is enabled, this value is automatically scaled proportionally to the effective time scale.

    FrameCount

    Gets the total number of frames that have been rendered since the application started.

    Declaration
    public int FrameCount { get; }
    Property Value
    Type Description
    int

    A pass-through to UnityEngine.Time.frameCount. The counter increments once per rendered frame and continues to advance while the game is paused.

    Instance

    Gets the active singleton instance of the ScyllaTime service.

    Declaration
    public static ScyllaTime Instance { get; }
    Property Value
    Type Description
    ScyllaTime

    The singleton instance, or null if Initialize(ScyllaTimeConfiguration) has not yet been called or Scylla.Core.Time.ScyllaTime.Shutdown() has already been called by ScyllaBootstrap.

    IsPaused

    Gets whether the game is currently paused.

    Declaration
    public bool IsPaused { get; }
    Property Value
    Type Description
    bool

    true after a successful call to Pause() or the first TogglePause() that triggers a pause; false at initialization and after a successful call to Resume() or the first TogglePause() that triggers a resume.

    MasterClock

    The clock designated as master, or null when no master clock has been registered. The master clock's EffectiveRate mirrors to UnityEngine.Time.timeScale via Tick(float).

    Declaration
    public ScyllaClock MasterClock { get; }
    Property Value
    Type Description
    ScyllaClock

    ModifierStack

    Gets the active TimeScaleModifierStack. Modifiers can also be pushed and popped via the convenience methods on this class (PushModifier(TimeScaleModifier), PopModifier(TimeScaleModifierHandle), etc.).

    Declaration
    public TimeScaleModifierStack ModifierStack { get; }
    Property Value
    Type Description
    TimeScaleModifierStack

    RealTimeSinceStartup

    Gets the real-world time in seconds since the application started, measured by the system clock rather than Unity's frame loop.

    Declaration
    public float RealTimeSinceStartup { get; }
    Property Value
    Type Description
    float

    A pass-through to UnityEngine.Time.realtimeSinceStartup. Unlike TimeSinceStartup, this value is never affected by time scale or pause and is useful for measuring actual wall-clock durations such as load times or profiling windows.

    TimeScale

    Gets or sets the current base time scale.

    Declaration
    public float TimeScale { get; set; }
    Property Value
    Type Description
    float

    A non-negative float where 1.0 represents normal real-time speed, values between 0 and 1 slow time down, and values greater than 1 speed time up. The value is always clamped to a minimum of 0 and a maximum of MaxTimeScale.

    Remarks

    The value returned by this property is the BASE scale, not the effective applied scale. When modifiers are active (e.g., during hit-stop or bullet-time), the actual UnityEngine.Time.timeScale equals this base value multiplied by the modifier-stack multiplier. To read the post-modifier result, use EffectiveTimeScale.

    When the game is not paused, assigning this property immediately re-applies the effective time scale to UnityEngine.Time.timeScale, affecting physics simulation, animations, and all scaled time queries on the same frame.

    When the game is paused (IsPaused is true), assigning this property stores the value internally without touching UnityEngine.Time.timeScale (which remains at 0 for the duration of the pause). The stored value is restored to UnityEngine.Time.timeScale when Resume() is called.

    Prefer the higher-level helpers SetNormalSpeed(), SetSlowMotion(float), SetFastForward(float), and SetTimeScale(float) over direct property assignment when you also want listener notifications to fire.

    TimeSinceStartup

    Gets the total game time in seconds since the application started, scaled by the current TimeScale.

    Declaration
    public float TimeSinceStartup { get; }
    Property Value
    Type Description
    float

    A pass-through to UnityEngine.Time.time. This clock stops advancing while the game is paused. Use UnscaledTimeSinceStartup for a clock that runs continuously regardless of pause or time scale.

    UnscaledDeltaTime

    Gets the real-world time in seconds that has elapsed since the last frame, unaffected by TimeScale or pause state.

    Declaration
    public float UnscaledDeltaTime { get; }
    Property Value
    Type Description
    float

    A pass-through to UnityEngine.Time.unscaledDeltaTime. This value continues to advance even when the game is paused, making it suitable for driving UI animations or timers that must remain active during a pause.

    UnscaledTimeSinceStartup

    Gets the total real-world time in seconds since the application started, unaffected by TimeScale or pause state.

    Declaration
    public float UnscaledTimeSinceStartup { get; }
    Property Value
    Type Description
    float

    A pass-through to UnityEngine.Time.unscaledTime. This clock advances continuously at wall-clock speed even when the game is paused.

    Methods

    CaptureState()

    Captures a JSON-safe snapshot of the entire time state: global pause + mode, base time scale, the global modifier stack, and a snapshot of every clock with PersistOnSnapshot set to true. The result is suitable for round-trip via ScyllaSerialization.

    Declaration
    public MasterTimeState CaptureState()
    Returns
    Type Description
    MasterTimeState
    Remarks

    Scheduled callbacks (TickScheduler entries, WaitUntil watchers) are NOT captured because Action cannot be serialized portably. Consumers that need persistent scheduled events should re-register them after RestoreState(MasterTimeState) via the high-level scheduling API.

    ClearModifiers()

    Removes all active modifiers and re-applies the effective scale.

    Declaration
    public void ClearModifiers()

    ConvertToRealTime(float)

    Converts a duration measured in scaled game-time seconds to the equivalent duration in real (unscaled) seconds at the current EffectiveTimeScale. Returns 0 when the effective scale is zero (paused or fully attenuated).

    Declaration
    public float ConvertToRealTime(float scaledTime)
    Parameters
    Type Name Description
    float scaledTime
    Returns
    Type Description
    float

    ConvertToScaledTime(float)

    Converts a duration measured in real (unscaled) seconds to the equivalent duration in scaled game-time seconds at the current EffectiveTimeScale. Uses the effective scale (after modifiers and master-clock override) so consumers get the value actually applied to the engine, not the base value.

    Declaration
    public float ConvertToScaledTime(float realTime)
    Parameters
    Type Name Description
    float realTime
    Returns
    Type Description
    float

    GetActiveModifiers()

    Read-only view of the active modifiers in priority order. Intended for debug overlays and tests.

    Declaration
    public IReadOnlyList<TimeScaleModifier> GetActiveModifiers()
    Returns
    Type Description
    IReadOnlyList<TimeScaleModifier>

    GetAllClocks()

    Read-only view of all registered clocks in stable registration order.

    Declaration
    public IReadOnlyList<ScyllaClock> GetAllClocks()
    Returns
    Type Description
    IReadOnlyList<ScyllaClock>

    GetClock(string)

    Returns the registered clock with the given clockID, or null when no such clock exists.

    Declaration
    public ScyllaClock GetClock(string clockID)
    Parameters
    Type Name Description
    string clockID
    Returns
    Type Description
    ScyllaClock

    GetDebugInfo()

    Builds a ScyllaTimeDebugInfo snapshot of every registered clock plus global state. Allocates one fresh array each call (sized to ClockCount); suitable for periodic display from a debug HUD but not the inner-most hot path.

    Declaration
    public ScyllaTimeDebugInfo GetDebugInfo()
    Returns
    Type Description
    ScyllaTimeDebugInfo

    GetDebugInfo(ref ClockDebugInfo[])

    Allocation-free overload of GetDebugInfo() that fills a caller-supplied buffer with one ClockDebugInfo per registered clock and returns the wrapping ScyllaTimeDebugInfo referencing that same buffer. The buffer is grown only when its current capacity is smaller than the registered clock count.

    Declaration
    public ScyllaTimeDebugInfo GetDebugInfo(ref ClockDebugInfo[] buffer)
    Parameters
    Type Name Description
    ClockDebugInfo[] buffer

    Reusable storage. May be null or shorter than required; the method allocates a new array only when growth is necessary and writes the new array back to the ref parameter.

    Returns
    Type Description
    ScyllaTimeDebugInfo

    GetEffectiveMultiplier()

    Returns the multiplier currently produced by the modifier stack (1 when empty). The returned value reflects only the modifier contribution, not the base TimeScale.

    Declaration
    public float GetEffectiveMultiplier()
    Returns
    Type Description
    float

    GetTimeInfo()

    Returns a human-readable summary of the current time state, suitable for debug overlays or logging.

    Declaration
    public string GetTimeInfo()
    Returns
    Type Description
    string

    Pause()

    Pauses the game by setting UnityEngine.Time.timeScale to 0 and preserving the current time scale for later restoration.

    Declaration
    public void Pause()
    Remarks

    If the game is already paused (IsPaused is true) this method is a no-op; it will not re-capture the time scale or fire a second Paused notification.

    After a successful pause, all registered ITimeListener objects are notified with Paused. The value of DeltaTime will return 0 on subsequent frames until Resume() is called. UnscaledDeltaTime and RealTimeSinceStartup continue to advance normally.

    See Also
    Resume()
    TogglePause()
    IsPaused

    Pause(PauseMode)

    Pauses the game in the supplied mode. Hard matches the v1.0 behavior; Soft still pins UnityEngine.Time.timeScale to 0 but clocks with RespectsGlobalPause set to false keep ticking. Passing None is treated as a no-op.

    Declaration
    public void Pause(PauseMode mode)
    Parameters
    Type Name Description
    PauseMode mode

    PopModifier(TimeScaleModifierHandle)

    Removes a previously pushed modifier identified by handle and re-applies the effective scale.

    Declaration
    public bool PopModifier(TimeScaleModifierHandle handle)
    Parameters
    Type Name Description
    TimeScaleModifierHandle handle
    Returns
    Type Description
    bool

    true if a modifier with the matching ID was found and removed.

    PushModifier(TimeScaleModifier)

    Adds a layered TimeScaleModifier on top of the base TimeScale and immediately re-applies the effective scale. Returns a handle the caller may use to PopModifier(TimeScaleModifierHandle) early.

    Declaration
    public TimeScaleModifierHandle PushModifier(TimeScaleModifier modifier)
    Parameters
    Type Name Description
    TimeScaleModifier modifier
    Returns
    Type Description
    TimeScaleModifierHandle

    RegisterClock(ClockDefinition)

    Registers a ClockDefinition at runtime, instantiating the matching ScyllaClock wrapper and adding it to the registry. The clock begins advancing on the next call to Tick(float).

    Declaration
    public ScyllaClock RegisterClock(ClockDefinition definition)
    Parameters
    Type Name Description
    ClockDefinition definition

    The clock definition asset. Must be non-null and have a non-empty ClockID.

    Returns
    Type Description
    ScyllaClock

    The newly created runtime clock, or the existing clock if one with the same ID was already registered.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown when definition is null.

    ArgumentException

    Thrown when the definition's ClockID is null or whitespace, or when the definition designates itself as master while another master is already registered.

    RegisterListener(ITimeListener)

    Registers an ITimeListener to receive time-related event notifications from this service.

    Declaration
    public void RegisterListener(ITimeListener listener)
    Parameters
    Type Name Description
    ITimeListener listener

    The listener to register. Must not be null. If the listener is already registered, this call is a no-op.

    RemoveModifiersBySourceID(string)

    Removes every active modifier whose SourceID equals sourceID and re-applies the effective scale.

    Declaration
    public int RemoveModifiersBySourceID(string sourceID)
    Parameters
    Type Name Description
    string sourceID
    Returns
    Type Description
    int

    The number of modifiers removed.

    RestoreState(MasterTimeState)

    Restores time-system state from a previously captured MasterTimeState. Clocks listed in the state are looked up by ClockID; if a clock is no longer registered, that entry is logged and skipped without aborting the rest of the restore.

    Declaration
    public void RestoreState(MasterTimeState state)
    Parameters
    Type Name Description
    MasterTimeState state
    Remarks

    The snapshot's SchemaVersion is validated against CURRENT_SCHEMA_VERSION; mismatched versions log a warning and abort the restore.

    Any in-flight SmoothTimeScaleTransition is cancelled so it does not overwrite the restored time scale on the next tick. Each restored clock has its Scylla.Core.Time.TickScheduler cleared because the scheduler entries are not part of the snapshot and would otherwise fire stale callbacks at incorrect tick values.

    Modifier handles obtained before the capture are invalidated by restore: the modifier stack reassigns IDs on push, so callers holding pre-capture handles must reacquire them via RemoveModifiersBySourceID(string) instead of PopModifier(TimeScaleModifierHandle).

    Resume()

    Resumes the game by restoring UnityEngine.Time.timeScale to the value it held at the moment Pause() was last called.

    Declaration
    public void Resume()
    Remarks

    If the game is not currently paused (IsPaused is false) this method is a no-op; it will not modify the time scale or fire a Resumed notification.

    After a successful resume, all registered ITimeListener objects are notified with Resumed. If RestoreTimeScaleOnResume is false, the time scale is reset to 1.0 instead of the pre-pause value. Any active modifier stack is then folded into UnityEngine.Time.timeScale via EffectiveTimeScale.

    See Also
    Pause()
    TogglePause()
    IsPaused

    SetFastForward(float)

    Sets the time scale to a value greater than or equal to 1.0, effectively speeding up the passage of game time.

    Declaration
    public void SetFastForward(float scale = -1)
    Parameters
    Type Name Description
    float scale

    The desired fast-forward factor. Values less than 1.0 are clamped to 1.0. Pass -1 (the default) to use the DefaultFastForwardScale from the active configuration, or 2.0 if no configuration is assigned.

    SetNormalSpeed()

    Sets the time scale to normal real-time speed (1.0) and notifies registered listeners if the scale actually changed.

    Declaration
    public void SetNormalSpeed()

    SetSlowMotion(float)

    Sets the time scale to a value less than or equal to 1.0, effectively slowing the passage of game time.

    Declaration
    public void SetSlowMotion(float scale = -1)
    Parameters
    Type Name Description
    float scale

    The desired slow-motion factor. Must be in the range [0, 1]; values outside this range are clamped. Pass -1 (the default) to use the DefaultSlowMotionScale from the active configuration, or 0.5 if no configuration is assigned.

    SetTimeScale(float)

    Sets the time scale to an arbitrary non-negative value and notifies all registered ITimeListener objects if the value actually changed.

    Declaration
    public void SetTimeScale(float scale)
    Parameters
    Type Name Description
    float scale

    TogglePause()

    Toggles the game between paused and resumed states, delegating to Pause() or Resume() as appropriate.

    Declaration
    public void TogglePause()
    Remarks

    Calling this method when the game is already transitioning state (e.g., from within an OnTimeEvent(TimeEvent) callback) is safe; the underlying Pause() and Resume() methods guard against re-entrant no-op calls.

    See Also
    Pause()
    Resume()
    IsPaused

    TransitionTimeScale(float, float, Action, Func<float, float>)

    Smoothly transitions the base TimeScale from its current value to targetScale over realSeconds real-time seconds, replacing any in-flight transition.

    Declaration
    public SmoothTimeScaleTransition TransitionTimeScale(float targetScale, float realSeconds, Action onComplete = null, Func<float, float> easing = null)
    Parameters
    Type Name Description
    float targetScale

    The base scale to reach at the end of the transition.

    float realSeconds

    Real-time seconds the transition should take. Values <= 0 snap immediately.

    Action onComplete

    Optional callback invoked when the transition completes.

    Func<float, float> easing

    Optional custom easing function; defaults to SmoothStep.

    Returns
    Type Description
    SmoothTimeScaleTransition

    The active SmoothTimeScaleTransition driver. Caller may store it to Cancel() early.

    UnregisterClock(string)

    Removes the clock identified by clockID from the registry. Subsequent Tick(float) calls no longer advance it.

    Declaration
    public bool UnregisterClock(string clockID)
    Parameters
    Type Name Description
    string clockID
    Returns
    Type Description
    bool

    true if a clock with that ID was found and removed; otherwise false.

    UnregisterListener(ITimeListener)

    Unregisters a previously registered ITimeListener so it no longer receives time-related event notifications.

    Declaration
    public void UnregisterListener(ITimeListener listener)
    Parameters
    Type Name Description
    ITimeListener listener

    Implements

    IClockSource

    Extension Methods

    FileExtensions.SaveSecureToFileAsync<T>(T, string, string, CancellationToken)
    FileExtensions.SaveSecureToFile<T>(T, string, string)
    FileExtensions.SaveToFileAsync<T>(T, string, CancellationToken)
    FileExtensions.SaveToFile<T>(T, string)
    FileExtensions.SaveToFile<T>(T, string, SerializationSettings)
    In this article
    Back to top Scylla Framework - Core Module API Documentation