Plush

EffectUse#

PlushEngine · Type index

Namespace: PlushEngine

An object's Effect component: the effect it plays while active, the seed of its randomness (the same seed replays the same particles) and whether a finished one-shot removes its object.

public sealed record EffectUse(EffectAsset Effect, int Seed = 0, bool DestroyWhenFinished = false)

Record properties#

PropertyTypeAccessConstructor default
EffectEffectAssetget; init;required
Seedintget; init;0
DestroyWhenFinishedboolget; init;false

EffectAsset

Source#