Documentation

Unity Engine

Download Unity

Unity Engine

TrySetDefaultInt(StringHash, int)

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

Definition

public bool TrySetDefaultInt(StringHash id, int value)

Parameters

The identifier of the channel.

value

The default value of the channel.

Returns

Type

Description

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