Version: 2022.3
public void OnGUI (Rect position);

参数

position 屏幕上用于装饰器 GUI 的矩形。

描述

重写此方法,以针对该装饰器构建您自己的 GUI。 请参阅 DecoratorDrawer,了解如何使用此方法的示例。