Class GameMod_MirageSkin
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Mirror.NetworkBehaviour
GameMod_MirageSkin
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class GameMod_MirageSkin : GameModifierBase, ILogicUpdate, ICleanup, ICustomDestroyRoutine, IExcludeFromPool
Fields
baseChancesByPlayerCount
Declaration
public GameMod_MirageSkin.MirageSkinChancePerPlayer[] baseChancesByPlayerCount
Field Value
| Type | Description |
|---|---|
| MirageSkinChancePerPlayer[] |
currentZonePool
Declaration
[NonSerialized]
[SaveVar(SaveVarFlags.Default)]
public List<AssetRef<MirageSkinEffect>> currentZonePool
Field Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<T><AssetRef<MirageSkinEffect>> |
softInstance
Declaration
public static GameMod_MirageSkin softInstance
Field Value
| Type | Description |
|---|---|
| GameMod_MirageSkin |
Properties
instance
If you expect the instance to be null, you MUST USE softInstance in Update loops.
This will call FindObjectOfType if current instance is null, which can be very expensive.
Declaration
public static GameMod_MirageSkin instance { get; }
Property Value
| Type | Description |
|---|---|
| GameMod_MirageSkin |
Methods
GetCurrentBaseMirageChance()
Declaration
public float GetCurrentBaseMirageChance()
Returns
| Type | Description |
|---|---|
| float |
OnCreate()
Declaration
protected override void OnCreate()
Overrides
OnDestroyActor()
Declaration
protected override void OnDestroyActor()
Overrides
RefreshPool()
Declaration
public void RefreshPool()