Skip to content

Built-in responses

Choose the response for the property you want to control, then configure its shared activation conditions. Keep one owner for a target property; responses do not arbitrate between unrelated scripts writing it.

Component Setup and effect
SystemBasedLight Requires a Light on its host; interpolates Inactive Intensity to Active Intensity
SystemBasedMaterial Renderer target and shader color/emission property names; blends inactive/active colors using a MaterialPropertyBlock
SystemBasedVisibility Toggles assigned Renderers and safe child GameObjects at Active Threshold (default 0.5)
SystemBasedTransform Interpolates selected local position/rotation/scale properties of the target; host transform is fallback
SystemBasedAnimator Requires Animator; writes an existing Float or Bool parameter (default name TunalInfluence)
SystemBasedParticles Requires ParticleSystem; controls continuous rate-over-time emission and optional autoplay
SystemBasedAudio Requires AudioSource; blends volume and controls playback according to its start/stop settings
SystemBasedCelestialTracker Aims a target toward Sun or Moon using configured local aim/up axes and continuous application
SystemBasedSeasonalMaterial Evaluates gradients keyed to seasons from a seasonal palette/local configuration
SystemBasedYearlyMaterial Evaluates annual gradient with optional shared yearly palette and wrap blending

SystemBasedGradientMaterial is the shared abstract base for the seasonal/yearly variants, not an extra effect to add on its own.

Material and emission setup

Select a Renderer, then verify its shader exposes the configured property: _BaseColor is not universal, and some shaders use _Color. The source material must already have the intended emission feature/variant enabled. Setting _EmissionColor through a property block cannot enable a shader keyword or create bloom.

These responses do not require making a new material per frame. However, another script's property block can still overwrite the same properties. Seasonal/yearly gradient responses additionally select a material slot; use a slot that exists and the expected property.

Seasonal/yearly responses can run directly from their continuous data source without activation conditions. Use Conditions As Blend opts into blending the evaluated color with Inactive Color. SeasonalMaterialPalette entries follow stable season IDs; YearlyMaterialPalette follows continuous calendar-year progress and can blend the last fraction back to the first color.

Binary visibility and ongoing effects

Do not assign the response host or an ancestor as a child-object visibility target. Disabling the updater would prevent it from observing the condition that should reactivate itself. The implementation rejects unsafe host/ancestor activation targets, but correct hierarchy design is still essential.

Particles already alive expire naturally when emission falls; bursts are not rewritten by this response. Audio requires an assigned clip and suitable looping/source configuration. Animator parameters and transitions must exist in your Animator Controller; Tunal does not author them automatically.

For tracking, a constant activation influence does not mean the celestial direction stopped changing. The tracker requests continuous application. If a model points sideways, correct local aim/up axes before changing Astronomy's world coordinates.

Seasonal appearance workflow

Assign a SystemBasedSeasonalMaterial to a tree Renderer, bind its context with Season System, and configure matching gradients for the active Season Profile. Duplicate shared palettes before making project-specific changes. Verify the color across a cycle and at several latitudes; a display label alone does not expose all blended influences.

Related: custom responses, seasons, reactive setup.