  | ASLObject_LocallySetFloatCallback Method  | 
 
             This function will only update the local player, not all players. Sets the float callback function for this object. 
             
 
    Namespace: 
   ASL
    Assembly:
   Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic void _LocallySetFloatCallback(
	ASLObjectFloatCallback _yourFloatFunction
)
Public Sub _LocallySetFloatCallback ( 
	_yourFloatFunction As ASLObjectFloatCallback
)
public:
void _LocallySetFloatCallback(
	ASLObjectFloatCallback^ _yourFloatFunction
)
member _LocallySetFloatCallback : 
        _yourFloatFunction : ASLObjectFloatCallback -> unit 
Parameters
- _yourFloatFunction
 - Type: ASLASLObjectFloatCallback
The function that will be used to perform an action whenever a user sends a float 
Examplesvoid Start()
{
    gameobject.GetComponent<ASL.ASLObject>()._LocallySetFloatCallback(UserDefinedFunction)
}
public void UserDefinedFunction(string _id, float[] f)
{
    
    
    playerHealth = f[0]; 
}
See Also