Class FxEntityAnimation
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
FxEntityAnimation
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class FxEntityAnimation : MonoBehaviour, IEffectComponent, IAttachableToEntity
Fields
animClip
Declaration
public DewAnimationClip animClip
Field Value
| Type | Description |
|---|---|
| DewAnimationClip |
delay
Declaration
public float delay
Field Value
| Type | Description |
|---|---|
| float |
speed
Declaration
public float speed
Field Value
| Type | Description |
|---|---|
| float |
stopAnimationWhenStopped
Declaration
[ToggleLeft]
public bool stopAnimationWhenStopped
Field Value
| Type | Description |
|---|---|
| bool |
Properties
isPlaying
Declaration
public bool isPlaying { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
OnAttachToEntity(Entity)
Declaration
public void OnAttachToEntity(Entity target)
Parameters
| Type | Name | Description |
|---|---|---|
| Entity | target |
Play()
Declaration
public void Play()
Stop()
Declaration
public void Stop()