Skip to content

Class: GameMod_MirageSkin ​

csharp
public class GameMod_MirageSkin : GameModifierBase, ILogicUpdate, ICleanup, ICustomDestroyRoutine, IExcludeFromPool

Fields ​

NameDeclarationDescription
baseChancesByPlayerCountpublic GameMod_MirageSkin.MirageSkinChancePerPlayer[] baseChancesByPlayerCount
currentZonePool`[NonSerialized]
[SaveVar(SaveVarFlags.Default)]
public List<AssetRef<MirageSkinEffect>> currentZonePool`
softInstancepublic static GameMod_MirageSkin softInstance

Properties ​

NameDeclarationDescription
instancepublic static GameMod_MirageSkin instance { get; }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.

Methods ​

GetCurrentBaseMirageChance() ​

csharp
public float GetCurrentBaseMirageChance()

Returns: float

OnCreate() ​

csharp
protected override void OnCreate()

OnDestroyActor() ​

csharp
protected override void OnDestroyActor()

RefreshPool() ​

csharp
public void RefreshPool()

Maintained by the Shape of Dreams Modding Community