Class Rift_MockExit
This is a fake RoomExit that instead of actually traveling when selecting a node, it will call onTravel with travel target node index as its parameter.
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Mirror.NetworkBehaviour
Rift_MockExit
Implements
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public class Rift_MockExit : Rift_RoomExit, ILogicUpdate, ICleanup, ICustomDestroyRoutine, IInteractable, IBanRoomNodesNearby, IBanRoomNodesNearbyMultiple
Fields
onTravel
Called on interacting client.
Declaration
public UnityEvent<int> onTravel
Field Value
| Type | Description |
|---|---|
| UnityEngine.Events.UnityEvent<T0><int> |