EasyTalk API
Loading...
Searching...
No Matches
EasyTalk.Display.DirectionalOptionElement Class Reference

A Directional Option Element establishes a link between a button and another image. When the button is highlighted, the corresponding image will be highlighted, etc.. In addition, the element allows for a custom direction to be defined for the element to be selected. More...

Public Attributes

DialogueButton button
 The button to use.
 
Image linkedImage
 The linked image.
 
bool useCustomDirectionVector = false
 Whether the option should be attributed to a custom direction vector rather than being based on the relative location of the option.
 
Vector3 directionVector = Vector3.zero
 The custom direction vector to use when useCustomDirectionVector is set to true.
 
List< bool > activationMask = new List<bool>()
 The mask which determines when the option element is shown/used based on the number of options being presented.
 

Detailed Description

A Directional Option Element establishes a link between a button and another image. When the button is highlighted, the corresponding image will be highlighted, etc.. In addition, the element allows for a custom direction to be defined for the element to be selected.

Member Data Documentation

◆ activationMask

List<bool> EasyTalk.Display.DirectionalOptionElement.activationMask = new List<bool>()

The mask which determines when the option element is shown/used based on the number of options being presented.

◆ button

DialogueButton EasyTalk.Display.DirectionalOptionElement.button

The button to use.

◆ directionVector

Vector3 EasyTalk.Display.DirectionalOptionElement.directionVector = Vector3.zero

The custom direction vector to use when useCustomDirectionVector is set to true.

◆ linkedImage

Image EasyTalk.Display.DirectionalOptionElement.linkedImage

The linked image.

◆ useCustomDirectionVector

bool EasyTalk.Display.DirectionalOptionElement.useCustomDirectionVector = false

Whether the option should be attributed to a custom direction vector rather than being based on the relative location of the option.