Class RoomRifts
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Mirror.NetworkBehaviour
RoomRifts
Implements
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class RoomRifts : RoomComponent, ILogicUpdate
Fields
openedSidetrackRifts
Declaration
public List<string> openedSidetrackRifts
Field Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<T><string> |
Methods
CreateSidetrackRift(Rift_Sidetrack)
Create a sidetrack rift on adequate position. This can fail if there's no position to spawn the new rift.
Declaration
public void CreateSidetrackRift(Rift_Sidetrack prefab)
Parameters
| Type | Name | Description |
|---|---|---|
| Rift_Sidetrack | prefab |
OnRoomStartServer()
Declaration
public override void OnRoomStartServer()
Overrides
OpenRifts()
Open room exit rift.
Can also spawn sidetrack rifts if combat node.
Declaration
public void OpenRifts()