Click or drag to resize

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
)

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