Skip to main content

Class TimestampedInteractionMessage

A timestamped interaction message containing information regarding one occurrence of an interaction.

[Serializable]
public class TimestampedInteractionMessage : TimestampedMessage

Inheritance​

Inherited Members​

Constructors​

TimestampedInteractionMessage(string, Interactable, int)​

Initializes a new instance of the TimestampedInteractionMessage.

public TimestampedInteractionMessage(string message, Interactable interactable, int index)

Parameters​

NameTypeDescription
messagestringThe interaction message.
interactableInteractableThe interactable object involved in the interaction.
indexintThe index of the selected interaction option.

Fields​

Interactable_Identity​

The identifier of the interactable GameObject being interacted with.

public string Interactable_Identity

Field Value​

string

interaction_option_duration​

The duration it took to complete the selected interaction option.

public float interaction_option_duration

Field Value​

float

interaction_option_index​

The index of the selected interaction option.

public int interaction_option_index

Field Value​

int

interaction_option_prompt​

The prompt or message displayed to the player when interacting with the object.

public string interaction_option_prompt

Field Value​

string

  • Constructors
    • TimestampedInteractionMessage(string, Interactable, int)
  • Fields
    • Interactable_Identity
    • interaction_option_duration
    • interaction_option_index
    • interaction_option_prompt