Class FxEntityShake
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
FxEntityShake
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class FxEntityShake : FxInterpolatedEffectBase, IEffectComponent, IEffectWithSpeed, IAttachableToEntity
Fields
onlyOnXZPlane
Declaration
public bool onlyOnXZPlane
Field Value
| Type | Description |
|---|---|
| bool |
shakeIntensity
Declaration
public float shakeIntensity
Field Value
| Type | Description |
|---|---|
| float |
shakeInterval
Declaration
public float shakeInterval
Field Value
| Type | Description |
|---|---|
| float |
useUnscaledInterval
Declaration
public bool useUnscaledInterval
Field Value
| Type | Description |
|---|---|
| bool |
Methods
OnAttachToEntity(Entity)
Declaration
public void OnAttachToEntity(Entity target)
Parameters
| Type | Name | Description |
|---|---|---|
| Entity | target |
Update()
Declaration
protected override void Update()
Overrides
ValueSetter(float)
Declaration
protected override void ValueSetter(float value)
Parameters
| Type | Name | Description |
|---|---|---|
| float | value |