Documentation

Unity Engine

Download Unity

Unity Engine

SetFloat(int, float)

Sets the generic float value at the specified index.
Read time 1 minuteLast updated 4 hours ago

Definition

public void SetFloat(int index, float value)

Parameters

index

The index of the float channel to write.

value

The float value to write to the channel.

Remarks

The index must be at least 0 and less than AnimationStream.FloatCount.