Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WithDefaultValue(TData)

Configures the default value for the option being built.
Read time 1 minuteLast updated 10 days ago

Definition

WithDefaultValue(T)

IStateOptionBuilder<in TData> WithDefaultValue(TData defaultValue)

Parameters

defaultValue

T
The default value to assign to the option.

Returns

Type

Description

IStateOptionBuilder<T>The current builder instance for method chaining.