Skip to content

Class: RoomProps ​

csharp
[RoomComponentStartDependency(typeof(RoomModifiers))]
public class RoomProps : RoomComponent, ILogicUpdate

Fields ​

NameDeclarationDescription
defaultPerSectionRulepublic PropSpawnRule defaultPerSectionRule
globalRulepublic PropSpawnRule globalRule

Methods ​

OnRoomStartServer() ​

csharp
public override void OnRoomStartServer()

TryGetGoodNodePosition(out Vector3, DewRandom) ​

Returns false if suboptimal position is returned.

csharp
public bool TryGetGoodNodePosition(out Vector3 position, DewRandom random = null)

Parameters:

NameTypeDescription
positionUnityEngine.Vector3
randomDewRandom

Returns: bool

Maintained by the Shape of Dreams Modding Community