Class: FxRepeatedEffect
- Namespace:
Global - Assembly:
Dew.Core.dll - Inheritance / Derived: LogicBehaviour
csharp
[LogicUpdatePriority(500)]
public class FxRepeatedEffect : LogicBehaviour, ILogicUpdate, IEffectComponent, IAttachableToEntityFields
| Name | Declaration | Description |
|---|---|---|
interval | public float interval | |
playNew | public bool playNew |
Properties
| Name | Declaration | Description |
|---|---|---|
isPlaying | public bool isPlaying { get; } |
Methods
LogicUpdate(float)
csharp
public override void LogicUpdate(float dt)Parameters:
| Name | Type | Description |
|---|---|---|
dt | float |
OnAttachToEntity(Entity)
csharp
public void OnAttachToEntity(Entity target)Parameters:
| Name | Type | Description |
|---|---|---|
target | Entity |
Play()
csharp
public void Play()Stop()
csharp
public void Stop()