Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BeforeRenderOrderAttribute

Use this BeforeRenderOrderAttribute when you need to specify a custom callback order for Application.onBeforeRender.
Read time 3 minutesLast updated 5 days ago

Definition

[AttributeUsage(AttributeTargets.Method)]public class BeforeRenderOrderAttribute : Attribute

Remarks

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.

Constructors

Constructor

Description

BeforeRenderOrderAttribute(System.Int32)When applied to methods, specifies the order called during Application.onBeforeRender events.

Properties

Property

Description

orderThe order, lowest to highest, that the Application.onBeforeRender event recievers will be called in.

Inheritance

Inherited Members