Class FxEntityColor
Change and animate attached entity's color properties.
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
FxEntityColor
Assembly: Dew.Core.dll
Syntax
public class FxEntityColor : FxInterpolatedEffectBase, IEffectComponent, IEffectWithSpeed, IAttachableToEntity
Fields
baseColor
Declaration
[ColorUsage(false, false)]
[ShowIf("doBaseColor", true)]
public Color baseColor
Field Value
| Type |
Description |
| UnityEngine.Color |
|
dissolveAmount
Declaration
[ShowIf("doDissolve", true)]
public float dissolveAmount
Field Value
dissolveColor
Declaration
[ColorUsage(false, true)]
[ShowIf("doDissolveColor", true)]
public Color dissolveColor
Field Value
| Type |
Description |
| UnityEngine.Color |
|
doBaseColor
Declaration
Field Value
doDissolve
Declaration
Field Value
doDissolveColor
Declaration
public bool doDissolveColor
Field Value
doEmission
Declaration
Field Value
doOpacity
Declaration
Field Value
emission
Declaration
[ColorUsage(false, true)]
[ShowIf("doEmission", true)]
public Color emission
Field Value
| Type |
Description |
| UnityEngine.Color |
|
opacity
Declaration
[ShowIf("doOpacity", true)]
public float opacity
Field Value
Methods
OnAttachToEntity(Entity)
Declaration
public void OnAttachToEntity(Entity target)
Parameters
| Type |
Name |
Description |
| Entity |
target |
|
ValueSetter(float)
Declaration
protected override void ValueSetter(float value)
Parameters
| Type |
Name |
Description |
| float |
value |
|
Overrides
Implements
Extension Methods