Class GameModifierBase
Game modifiers are automatically spawned at the start of the game, and modifies the game in certain ways.
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Mirror.NetworkBehaviour
GameModifierBase
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class GameModifierBase : GameEffect, ILogicUpdate, ICleanup, ICustomDestroyRoutine, IExcludeFromPool
Fields
excludeFromPool
Declaration
public bool excludeFromPool
Field Value
| Type | Description |
|---|---|
| bool |
Methods
OnStartClientLobby()
Called in the lobby scene on the prefab asset, if this game modifier is included in current game.
Declaration
public virtual void OnStartClientLobby()
OnStartServerLobby()
Called in the lobby scene on the prefab asset, if this game modifier is included in current game.
Declaration
public virtual void OnStartServerLobby()
Explicit Interface Implementations
IExcludeFromPool.excludeFromPool
Declaration
bool IExcludeFromPool.excludeFromPool { get; }
Returns
| Type | Description |
|---|---|
| bool |