Click or drag to resize

SliderController Class

Controls the ASLSlidersWithEcho objects in your scene. Usually you want to attach this script to your canvas object and then manually assign each slider to it via the editor.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          SimpleDemosSliderController

Namespace:  SimpleDemos
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class SliderController : MonoBehaviour

The SliderController type exposes the following members.

Constructors
  NameDescription
Public methodSliderController
Initializes a new instance of the SliderController class
Top
Methods
  NameDescription
Public methodFunctionToCallAfterChangingSlider
This is the function that gets called after the slider value is changed AND that new value has been received from the GameLift relay server. You cannot have more or less parameters than the ones shown here when you make your own function due to this function being a ASLObject.FloatCallback function.
Private methodStart
Initializes the ASL sliders in the scene
Top
Fields
  NameDescription
Public fieldm_ExampleSlider
An example of how to use the ASLSliderWithEcho. Feel free to change the name of this to whatever suits your application and to add as many as you want.
Top
See Also