Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LayerField

Initializes and returns an instance of LayerField.
Read time 1 minuteLast updated 8 days ago

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.