Version: 2020.2

ConfigField

class in UnityEditor.VersionControl

切换到手册

描述

Describes the configuration fields of the version control that the user has selected in the Unity Editor.

For example: with Perforce enabled this can include credentials like the username, password, workspace and server.

变量

description配置字段的描述。
isPassword如果配置字段是密码字段,则为 true。
isRequired如果版本控制插件需要配置字段才能正常运行,则为 true。
label在编辑器的配置字段旁边显示的标签。
name配置字段的名称。