Show / Hide Table of Contents

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 Source

Activate(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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX