Class: RoomProps
- Namespace:
Global - Assembly:
Dew.Core.dll - Inheritance / Derived: DewNetworkBehaviour → RoomComponent
csharp
[RoomComponentStartDependency(typeof(RoomModifiers))]
public class RoomProps : RoomComponent, ILogicUpdateFields
| Name | Declaration | Description |
|---|---|---|
defaultPerSectionRule | public PropSpawnRule defaultPerSectionRule | |
globalRule | public 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:
| Name | Type | Description |
|---|---|---|
position | UnityEngine.Vector3 | |
random | DewRandom |
Returns: bool