Plugin for the tweening of the color of your choice. Used for changing material colors different from the default one (like _SpecColor or _Emission). Target for this tween must be of type Material. More...
Public Types | |
enum | ColorName { _Color, _SpecColor, _Emission, _ReflectColor } |
Enumeration of color properties names. More... | |
Public Member Functions | |
PlugSetColor (Color p_endVal) | |
Creates a new instance of this plugin using the main ease type. | |
PlugSetColor (Color p_endVal, EaseType p_easeType) | |
Creates a new instance of this plugin. | |
PlugSetColor (Color p_endVal, bool p_isRelative) | |
Creates a new instance of this plugin using the main ease type. | |
PlugSetColor (Color p_endVal, EaseType p_easeType, bool p_isRelative) | |
Creates a new instance of this plugin. | |
PlugSetColor (Color p_endVal, AnimationCurve p_easeAnimCurve, bool p_isRelative) | |
Creates a new instance of this plugin. | |
PlugSetColor | Property (ColorName p_colorName) |
Selects the color property to change. | |
PlugSetColor | Property (string p_propertyName) |
Selects the color property to change. |
Plugin for the tweening of the color of your choice. Used for changing material colors different from the default one (like _SpecColor or _Emission). Target for this tween must be of type Material.
enum ColorName |
Enumeration of color properties names.
PlugSetColor | ( | Color | p_endVal | ) |
Creates a new instance of this plugin using the main ease type.
p_endVal | The Color value to tween to. |
PlugSetColor | ( | Color | p_endVal, |
EaseType | p_easeType | ||
) |
Creates a new instance of this plugin.
p_endVal | The Color value to tween to. |
p_easeType | The EaseType to use. |
PlugSetColor | ( | Color | p_endVal, |
bool | p_isRelative | ||
) |
Creates a new instance of this plugin using the main ease type.
p_endVal | The Color value to tween to. |
p_isRelative | If true , the given end value is considered relative instead than absolute. |
PlugSetColor | ( | Color | p_endVal, |
EaseType | p_easeType, | ||
bool | p_isRelative | ||
) |
Creates a new instance of this plugin.
p_endVal | The Color value to tween to. |
p_easeType | The EaseType to use. |
p_isRelative | If true , the given end value is considered relative instead than absolute. |
PlugSetColor | ( | Color | p_endVal, |
AnimationCurve | p_easeAnimCurve, | ||
bool | p_isRelative | ||
) |
Creates a new instance of this plugin.
p_endVal | The Color value to tween to. |
p_easeAnimCurve | The AnimationCurve to use for easing. |
p_isRelative | If true , the given end value is considered relative instead than absolute. |
PlugSetColor Property | ( | ColorName | p_colorName | ) |
Selects the color property to change.
p_colorName | The propertyName/colorName to change (see Unity's Material.SetColor if you don't know how it works), set via the PlugSetColor.ColorName enum. |
PlugSetColor Property | ( | string | p_propertyName | ) |
Selects the color property to change.
p_propertyName | The propertyName/colorName to change (see Unity's Material.SetColor if you don't know how it works). |