EasyTalk API
|
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. | |
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.
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.
DialogueButton EasyTalk.Display.DirectionalOptionElement.button |
The button to use.
Vector3 EasyTalk.Display.DirectionalOptionElement.directionVector = Vector3.zero |
The custom direction vector to use when useCustomDirectionVector is set to true.
Image EasyTalk.Display.DirectionalOptionElement.linkedImage |
The linked image.
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.