Class VariaRandomTint
Randomly sets the color of a MeshRenderer or SpriteRenderer component.
Inheritance
VariaRandomTint
Namespace: Varia
Assembly: cs.temp.dll.dll
Syntax
public class VariaRandomTint : VariaBehaviour
Fields
alphaMax
Declaration
Field Value
alphaMin
Declaration
Field Value
hueMax
Declaration
Field Value
hueMin
Declaration
Field Value
property
The name of the property on the target component.
Declaration
Field Value
relative
Declaration
Field Value
relativeParent
Declaration
public int relativeParent
Field Value
saturationMax
Declaration
public float saturationMax
Field Value
saturationMin
Declaration
public float saturationMin
Field Value
target
Specifices the specific component to set the value on.
Declaration
Field Value
Type |
Description |
Component |
|
valueMax
Declaration
Field Value
valueMin
Declaration
Field Value
Methods
Apply(VariaContext)
Declaration
public override void Apply(VariaContext context)
Parameters
Overrides
GetBaseColor()
Declaration
public Color? GetBaseColor()
Returns
GetColor(Boolean)
Declaration
public Color? GetColor(bool force = false)
Parameters
Type |
Name |
Description |
Boolean |
force |
|
Returns
GetRelativeTarget()
Declaration
public Object GetRelativeTarget()
Returns