Is there a way to quickly skip through dialogue and actions. Like a fastforward button?
The EndCutscene input can be used to skip gameplay-blocking ActionLists in a single-frame.
To speed things up, you'd need to control the TimeScale value, which can be done with the Engine: Change timescale Action.
Placed inside an ActionList asset, you can either map this to a Menu Button, or to an input key via an Active Input.
To have the game revert back to regular TimeScale once you re-enter normal gameplay, you can hook into the OnEnterGameState event through scripting:
using UnityEngine; using AC; public class ResumeTimescale : MonoBehaviour { private void OnEnable () { EventManager.OnEnterGameState += EnterGameState; } private void OnDisable () { EventManager.OnEnterGameState -= EnterGameState; } private void EnterGameState (GameState _gameState) { if (_gameState == GameState.Normal) KickStarter.playerInput.SetTimeScale (1f); } }
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
The EndCutscene input can be used to skip gameplay-blocking ActionLists in a single-frame.
To speed things up, you'd need to control the TimeScale value, which can be done with the Engine: Change timescale Action.
Placed inside an ActionList asset, you can either map this to a Menu Button, or to an input key via an Active Input.
To have the game revert back to regular TimeScale once you re-enter normal gameplay, you can hook into the OnEnterGameState event through scripting: