Class RoomProps
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Mirror.NetworkBehaviour
RoomProps
Implements
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
[RoomComponentStartDependency(typeof(RoomModifiers))]
public class RoomProps : RoomComponent, ILogicUpdate
Fields
defaultPerSectionRule
Declaration
public PropSpawnRule defaultPerSectionRule
Field Value
| Type | Description |
|---|---|
| PropSpawnRule |
globalRule
Declaration
public PropSpawnRule globalRule
Field Value
| Type | Description |
|---|---|
| PropSpawnRule |
Methods
OnRoomStartServer()
Declaration
public override void OnRoomStartServer()
Overrides
TryGetGoodNodePosition(out Vector3, DewRandom)
Returns false if suboptimal position is returned.
Declaration
public bool TryGetGoodNodePosition(out Vector3 position, DewRandom random = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityEngine.Vector3 | position | |
| DewRandom | random |
Returns
| Type | Description |
|---|---|
| bool |