Skip to content

Class: SpecialEntityRoomModifier ​

csharp
public abstract class SpecialEntityRoomModifier : RoomModifierBase, ILogicUpdate, ICleanup, ICustomDestroyRoutine, IExcludeFromPool

Fields ​

NameDeclarationDescription
dontSpawnIfHuntedpublic bool dontSpawnIfHunted
spawnedDreamDustpublic Vector2Int spawnedDreamDust
spawnedGoldpublic Vector2Int spawnedGold
spawnedStardustpublic Vector2Int spawnedStardust

Methods ​

GetEntityType() ​

csharp
protected abstract Type GetEntityType()

Returns: System.Type

OnCreate() ​

csharp
protected override void OnCreate()

OnDestroyActor() ​

csharp
protected override void OnDestroyActor()

SpawnNpc(Vector3) ​

csharp
protected virtual Entity SpawnNpc(Vector3 pos)

Parameters:

NameTypeDescription
posUnityEngine.Vector3

Returns: Entity

Maintained by the Shape of Dreams Modding Community