Class WaypointEventData
The ECA payload for anything that happens at a waypoint: the traveller is the initiator, the waypoint's GameObject is the target, and the waypoint itself rides along typed.
public class WaypointEventData : EventData
- Inheritance
-
WaypointEventData
- Inherited Members
Remarks
Used for the waypoint's travel conditions and its on-travel triggers. The unlock path uses the ordinary PlayerInteractionEventData because it is an interaction.
Constructors
WaypointEventData(ICharacter, IWaypoint)
public WaypointEventData(ICharacter initiator, IWaypoint waypoint)
Parameters
initiatorICharacterwaypointIWaypoint
Properties
Waypoint
The waypoint involved.
public IWaypoint Waypoint { get; }