Interface IPlayerActivable
Defines a MonoBehaviour component that can be activated by player interaction. Activation is detected when a ray cast hits a collider or trigger collider on the GameObject on which the component is instantiated.
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
public interface IPlayerActivable
Methods
| Improve this Doc View SourceActivate(RaycastHit)
Fired when the player activate this object. This method can be called more than once if the collider is not disabled by implementation.
Declaration
void Activate(RaycastHit hit)
Parameters
Type | Name | Description |
---|---|---|
RaycastHit | hit | The hit that caused the activation. |