SendFloatArray_Example Class |
Namespace: SimpleDemos
The SendFloatArray_Example type exposes the following members.
Name | Description | |
---|---|---|
SendFloatArray_Example | Initializes a new instance of the SendFloatArray_Example class |
Name | Description | |
---|---|---|
MyFloatFunction | 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. | |
Start | Initialize values | |
Update |
Name | Description | |
---|---|---|
m_MyFloats | The floats that will be sent | |
m_ObjectToSendFloats | Provides an easy way to access the object we want to send floats with/for. | |
m_SendFloat | Bool that toggles when we send the floats, gets set to false after we send to save bandwidth |