Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Field in
Should the continue action respond to key being pressed down or released.
public ContinueButtonActionType continueActionOnButtonRelease = ContinueButtonActionType.Up;Enumeration Member in
The component is listening for a key on the keyboard to be pressed.
Enumeration Member in
The component is listening for the action referred to by to be performed.
Field in
The type of input that this component is listening for.
: The type of input that this component is listening for in order to signal that its dialogue view should advance.
KeyCodeInputSystemActionFromAssetpublic ContinueActionType continueActionType = ContinueActionType.KeyCode;Enum in DialogueAdvanceInput
Inherits from System.Enum
The type of input that this component is listening for in order to signal that its dialogue view should advance.
public enum ContinueActionType
{
None,
KeyCode,
VirtualButton,
InputSystemAction,
InputSystemActionFromAsset
}Field in DialogueAdvanceInput
The keyboard key that this component is listening for.
public KeyCode continueActionKeyCode = KeyCode.Space;Enumeration Member in
The component is listening for a virtual button to be pressed.
Enum in
Inherits from System.Enum
The button/keycode action type, should the button be fired on release or press?
VirtualButtonpublic enum ContinueButtonActionType
{
Up,
Down
}The component is listening for the action configured in to be performed.
The component is listening for the action referred to by to be performed.
The component is listening for a key on the keyboard to be pressed.
The component is listening for no input. This component will not signal to that it should advance.
The component is listening for a virtual button to be pressed.
Action will fire on key pressed
Action will fire on key release
Field in
The UnityEngine.InputSystem.InputAction that this component is listening for.
Use this continue action type when you want this component to use a configurable input action, but don't want to have to set up other actions in your project.
public InputAction continueAction = new InputAction("Skip", InputActionType.Button, CommonUsages.Submit);Enumeration Member in
The component is listening for no input. This component will not signal to that it should advance.
NoneProperty in DialogueAdvanceInput
Gets the UnityEngine.InputSystem.InputAction configured by this DialogueAdvanceInput .
public InputAction Action
{
get; }This methods returns the following potential values:
If continueActionType is InputSystemAction, this method returns continueAction.
If continueActionType is InputSystemActionFromAsset, this method returns continueActionReference's action.
If is or , this method returns null.
Class in
Inherits from UnityEngine.MonoBehaviour
A component that listens for user input, and uses it to notify a dialogue view that the user wishes to advance to the next step in the dialogue.
This class may be used with the Unity Input System, or the legacy Input Manager. The specific type of input it's looking for is configured via the field.
When the configured input occurs, this component calls the method on its .
Field in
Configures whether should be enabled on start.
If this field is false , the input action specified by will not be enabled by default, and will need to be enabled by your game's code.
Field in
An UnityEngine.InputSystem.InputActionReference that refers to the action that this component is listening for.
Use this continue action type when you want this component to make use of an input action you've configured elsewhere in your project.
public bool enableActionOnStart = true;public InputActionReference continueActionReference = null;The type of input that this component is listening for in order to signal that its dialogue view should advance.
The button/keycode action type, should the button be fired on release or press?
The UnityEngine.InputSystem.InputAction that this component is listening for.
The virtual button that this component is listening for.
Gets the UnityEngine.InputSystem.InputAction configured by this .
public class DialogueAdvanceInput : MonoBehaviourThe keyboard key that this component is listening for.
Should the continue action respond to key being pressed down or released.
An UnityEngine.InputSystem.InputActionReference that refers to the action that this component is listening for.
The type of input that this component is listening for.
The dialogue view that will be notified when the user performs the advance input (as configured by and related fields.)
Configures whether should be enabled on start.
Enumeration Member in
Action will fire on key release
UpField in
The virtual button that this component is listening for.
public string continueActionButtonName = "Jump";Enumeration Member in
Action will fire on key pressed
DownField in
The dialogue view that will be notified when the user performs the advance input (as configured by and related fields.)
When the input is performed, this dialogue view will have its method called.
public DialogueViewBase dialogueView;Enumeration Member in
The component is listening for the action configured in to be performed.
InputSystemAction