| SliderControllerFunctionToCallAfterChangingSlider Method |
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.
Namespace:
SimpleDemos
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void FunctionToCallAfterChangingSlider(
string _idOfTheASLObjectThatSentTheseValues,
float[] _theFloatsThatWereSent
)
Public Sub FunctionToCallAfterChangingSlider (
_idOfTheASLObjectThatSentTheseValues As String,
_theFloatsThatWereSent As Single()
)
public:
void FunctionToCallAfterChangingSlider(
String^ _idOfTheASLObjectThatSentTheseValues,
array<float>^ _theFloatsThatWereSent
)
member FunctionToCallAfterChangingSlider :
_idOfTheASLObjectThatSentTheseValues : string *
_theFloatsThatWereSent : float32[] -> unit
Parameters
- _idOfTheASLObjectThatSentTheseValues
- Type: SystemString
The id of the ASL object that sent value - can be used to determine
what GameObject was used if necessary - _theFloatsThatWereSent
- Type: SystemSingle
The four floats that were sent - in this case, since we are using a slider,
only 1 value was really sent: [0].
See Also