文档

Unity Engine

Unity Engine

LayerField

Initializes and returns an instance of LayerField.
阅读时间1 分钟最后更新于 1 个月前

Definition

LayerField(string)

Initializes and returns an instance of LayerField.
public LayerField(string label)

Parameters

label

The text to use as a label for the field.

LayerField()

Initializes and returns an instance of LayerField.
public LayerField()

LayerField(int)

Initializes and returns an instance of LayerField.
public LayerField(int defaultValue)

Parameters

defaultValue

The initial layer value this field should use.

LayerField(string, int)

Initializes and returns an instance of LayerField.
public LayerField(string label, int defaultValue)

Parameters

label

The text to use as a label for the field.

defaultValue

The initial layer value this field should use.