Protected Member Functions | List of all members
Menu.OptionsTextSpeedSlider Class Reference

A slider component that manages a YarnSpinner text speed on the save game. More...

Inheritance diagram for Menu.OptionsTextSpeedSlider:

Protected Member Functions

override void OnEnable ()
 Set the current speed as value on the slider when the component awakes. But make it human readable, instead of having the quickest speed on the left, put them on the right. More...
 
override void Set (float input, bool sendFeedBack)
 Save the new value to the current save game whenever the value gets changed. More...
 

Detailed Description

A slider component that manages a YarnSpinner text speed on the save game.

Member Function Documentation

override void Menu.OptionsTextSpeedSlider.OnEnable ( )
inlineprotected

Set the current speed as value on the slider when the component awakes. But make it human readable, instead of having the quickest speed on the left, put them on the right.

override void Menu.OptionsTextSpeedSlider.Set ( float  input,
bool  sendFeedBack 
)
inlineprotected

Save the new value to the current save game whenever the value gets changed.

Parameters
input
sendFeedBack

The documentation for this class was generated from the following file: