Photon Bolt Engine API 1.3

Public Member Functions | Properties | List of all members
Photon.Bolt.BoltExecutionOrderAttribute Class Reference

Sets the Unity script execution order More...

Inheritance diagram for Photon.Bolt.BoltExecutionOrderAttribute:

Public Member Functions

 BoltExecutionOrderAttribute (int order)
 

Properties

int executionOrder [get]
 The order of this script in execution (lower is earlier) More...
 

Detailed Description

Sets the Unity script execution order

Example: Setting the execution order of a manager class using an attribute.

[BoltExecutionOrder(-5000)]
public class SoundManager : MonoBehaviour
{
void Awake() {
ConfigureSoundSettings();
}
}

Constructor & Destructor Documentation

◆ BoltExecutionOrderAttribute()

Photon.Bolt.BoltExecutionOrderAttribute.BoltExecutionOrderAttribute ( int  order)
inline

Property Documentation

◆ executionOrder

int Photon.Bolt.BoltExecutionOrderAttribute.executionOrder
get

The order of this script in execution (lower is earlier)