Documentation

Unity Engine

Download Unity

Unity Engine

TrySetDefaultFloat(StringHash, float)

Sets the default value of the float channel that has an identifier.
Read time 1 minuteLast updated 4 hours ago

Definition

public bool TrySetDefaultFloat(StringHash id, float value)

Parameters

The identifier of the channel.

value

The default value of the channel.

Returns

Type

Description

boolTrue if the builder has a float channel with the identifier. Otherwise, false, and the builder doesn't change.