All pages
Powered by GitBook
1 of 5

Loading...

Loading...

Loading...

Loading...

Loading...

InputMode

Enum in LineAdvancer

Inherits from System.Enum

Summary

The type of input that this line advancer responds to.

Members

Name
Description

InputActions

The line advancer responds to Input Actions from the Unity Input System .

KeyCodes

The line advancer responds to keypresses on the keyboard.

LegacyInputAxes

The line advancer responds to input from the legacy Input Manager .

None

The line advancer does not respond to any input.

InputActions

Enumeration Member in InputMode

Summary

The line advancer responds to Input Actions from the Unity Input System .

InputActions

KeyCodes

Enumeration Member in InputMode

Summary

The line advancer responds to keypresses on the keyboard.

KeyCodes

LegacyInputAxes

Enumeration Member in InputMode

Summary

The line advancer responds to input from the legacy Input Manager .

LegacyInputAxes

None

Enumeration Member in InputMode

Summary

The line advancer does not respond to any input.

None

Remarks

When a line advancer's Yarn.Unity.LineAdvancer.UsedInputMode is set to None , call the RequestLineHurryUp() , RequestNextLine() and RequestDialogueCancellation() methods directly from your code to control line advancement.

public enum InputMode
{
    InputActions,
    KeyCodes,
    None,
    LegacyInputAxes
}