Protobuf.AddFloat Method

Add a float or double to a protobuf message repeated field.

void AddFloat(const char[] field, float value)

Parameters

const char[] field

Field name.

float value

Float value to add.

Errors

Non-existent field, or incorrect field type.