Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetFloat(AnimationStream, float)

Sets the float property value into a stream.
Read time 1 minuteLast updated 6 days ago

Definition

public void SetFloat(AnimationStream stream, float value)

Parameters

The AnimationStream that holds the animated values.

value

The new float property value.

Remarks

If the property is not a float, the method will throw an
InvalidOperationException
.