Skip to content

Change Light Range

This sequential lets you change the range of a Light component with animation.

Tip

This does not apply to Directional lights.

Base Properties

To learn about the common Base Properties, please see Base Sequential

Target Object Options

This sequential derives from Object Returner Sequential and gets all its properties from that sequential. So, to learn about the Target Object Options please see Object Returner Sequential

Animation Options

This sequential derives from Animation Sequential and gets all of its properties. So, to learn about the __Animation Options please see Animation Base

Target Object

Target Object (or Target Objects if Multiple Objects are returned) needs to be Light type. So please make sure that the game object assigned in this field has a Light component attached. Otherwise you'll see a runtime error log when this sequential plays.

End Value Type

This option determines the calculation of the end value of the light range.

Initial to Value

This changes the light range from its initial value (the value before this sequential starts) to the Range.

From Value to Initial

This sets the light range to the Range and then changes it to its initial value again.

Initial Plus Value

This adds Range to the initial light range and changes it to the calculated value.

Initial Multiply Value

This multiplies the light range's initial value with the Range and changes the to the calculated value.

From A to B

This lets you define the starting range and end range of the animation independent from the initial value of the light range.

Range

This is the value that determines the end light range in accordance with the End Value Type option as explained above.

It's possible to assign different kind of values to this property (e.g. directly, randomly, from variable).

Info

To learn more about assigning values with different options, see Value Assign

From Range

This is only available when the End Value Type is From A to B.

This is the starting range value of the animation.