BeforeRenderOrderAttribute

class in UnityEngine

Switch to Manual

Description

当您需要为 Application.onBeforeRender 指定自定义回调顺序时,使用此 BeforeRenderOrderAttribute。

Application.onBeforeRender will reorder all registered events recievers and call them in order, from lowest to highest, based on this attribute. No attribute represents an order of 0.

Variables

order从低到高的顺序,这是将调用 Application.onBeforeRender 事件接收器的顺序。

Constructors

BeforeRenderOrderAttribute应用于方法时,指定在 Application.onBeforeRender 事件期间的调用顺序。