Class TickDamageInstance
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Mirror.NetworkBehaviour
TickDamageInstance
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class TickDamageInstance : DamageInstance, ILogicUpdate, ICleanup, ICustomDestroyRoutine
Fields
delay
Declaration
[Title("Tick Damage Instance", null, TitleAlignments.Left, true, true)]
public float delay
Field Value
| Type | Description |
|---|---|
| float |
fxLoop
Declaration
[LabelText("Fx Loop (After Delay)")]
public GameObject fxLoop
Field Value
| Type | Description |
|---|---|
| UnityEngine.GameObject |
fxPerTick
Declaration
public GameObject fxPerTick
Field Value
| Type | Description |
|---|---|
| UnityEngine.GameObject |
fxTelegraph
Declaration
public GameObject fxTelegraph
Field Value
| Type | Description |
|---|---|
| UnityEngine.GameObject |
tickInterval
Declaration
public float tickInterval
Field Value
| Type | Description |
|---|---|
| float |
ticks
Declaration
public int ticks
Field Value
| Type | Description |
|---|---|
| int |
Properties
duration
Declaration
[ShowInInspector]
public float duration { get; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
ActiveLogicUpdate(float)
Declaration
protected override void ActiveLogicUpdate(float dt)
Parameters
| Type | Name | Description |
|---|---|---|
| float | dt |
Overrides
OnCreateSequenced()
Declaration
protected override IEnumerator OnCreateSequenced()
Returns
| Type | Description |
|---|---|
| System.Collections.IEnumerator |
Overrides
OnDestroyActor()
Declaration
protected override void OnDestroyActor()