Class: GameEffect
- Namespace:
Global - Assembly:
Dew.Core.dll - Inheritance / Derived: DewNetworkBehaviour → Actor → DewQuest → GameModifierBase → LucidDream
csharp
[SaveActor(true)]
public class GameEffect : Actor, ILogicUpdate, ICleanup, ICustomDestroyRoutineFields
| Name | Declaration | Description |
|---|---|---|
endEffect | `[BoxGroup("Effects", true, false, 0)] | |
| public GameObject endEffect` | ||
loopEffect | `[BoxGroup("Effects", true, false, 0)] | |
| public GameObject loopEffect` | ||
startEffect | `[BoxGroup("Effects", true, false, 0)] | |
| public GameObject startEffect` |
Properties
| Name | Declaration | Description |
|---|---|---|
isDestroyedOnRoomChange | public override bool isDestroyedOnRoomChange { get; } |
Methods
OnCreate()
csharp
protected override void OnCreate()OnDestroyActor()
csharp
protected override void OnDestroyActor()ShouldBeSavedWithRoom()
csharp
public override bool ShouldBeSavedWithRoom()Returns: bool