Class FxEffect
Provide scriptable interface for playing/stopping this effect.
Meant to be used with UnityEvents.
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
FxEffect
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class FxEffect : MonoBehaviour
Fields
bindToEntity
Declaration
public EffectBindEntityType bindToEntity
Field Value
| Type | Description |
|---|---|
| EffectBindEntityType |
delayOnEnablePlayOneFrame
Declaration
[ShowIf("playOnEnable", true)]
public bool delayOnEnablePlayOneFrame
Field Value
| Type | Description |
|---|---|
| bool |
playNew
Declaration
public bool playNew
Field Value
| Type | Description |
|---|---|
| bool |
playOnEnable
Declaration
public bool playOnEnable
Field Value
| Type | Description |
|---|---|
| bool |
typeSubstring
Declaration
[ShowIf("@bindToEntity == EffectBindEntityType.FindType", true)]
public string typeSubstring
Field Value
| Type | Description |
|---|---|
| string |
Methods
Play()
Declaration
public void Play()
Stop()
Declaration
public void Stop()