Documentation

Unity Engine

Download Unity

Unity Engine

SetScaleWeight(int, float)

Sets the weight of a specific scale.
Read time 1 minuteLast updated 4 hours ago

Definition

public void SetScaleWeight(int index, float weight)

Parameters

index

The index of the scale to set the weight of.

weight

The weight to set. The value is clamped to the range from 0 to 1.