| SendFloatArray_ExampleMyFloatFunction Method |
What I want to do with the float values passed around for this object (_id). By using a case statement
and reservering the last index for the switch value, I can execute more than 4 different things with this
1 function depending on what floats I want to send.
Namespace:
SimpleDemos
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static void MyFloatFunction(
string _id,
float[] _myFloats
)
Public Shared Sub MyFloatFunction (
_id As String,
_myFloats As Single()
)
public:
static void MyFloatFunction(
String^ _id,
array<float>^ _myFloats
)
static member MyFloatFunction :
_id : string *
_myFloats : float32[] -> unit
Parameters
- _id
- Type: SystemString
The id of the object that called [!:ASL.ASLObject.SendFloatArray_Example(float[])] - _myFloats
- Type: SystemSingle
My float 4 array
See Also