Documentation

Unity Engine

Download Unity

Unity Engine

TrySetDefaultEntityId(StringHash, EntityId)

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

Definition

public bool TrySetDefaultEntityId(StringHash id, EntityId value)

Parameters

The identifier of the channel.

The default value of the channel.

Returns

Type

Description

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