Version: 2021.1

HandleUtility.AddDefaultControl

切换到手册
public static void AddDefaultControl (int controlId);

描述

为默认控件添加 ID。如果没有其他控件可选,则选择此控件。