Photon Fusion 1.1.12

Public Member Functions | Properties | List of all members
OrderAfterAttribute Class Reference

More...

Inherits OrderAttribute.

Public Member Functions

 OrderAfterAttribute (params Type[] types)
 Fusion attribute that defines execution order of this script relative to specified other scripts. More...
 

Properties

Type[] After [get]
 The array of scripts the attributed script should run before. More...
 

Detailed Description

Fusion attribute used to indicate relative execution order of SimulationBehaviour and NetworkBehaviour derived scripts. Any number of scripts can be specified.

Usage:

[OrderAfter(typeof(MySimulationBehaviour), typeof(MyNetworkBehaviour), etc)]

Constructor & Destructor Documentation

◆ OrderAfterAttribute()

OrderAfterAttribute ( params Type[]  types)

Fusion attribute that defines execution order of this script relative to specified other scripts.

Parameters
typesThe SimulationBehaviour and NetworkBehaviour scripts this attributed script should execute AFTER.

Property Documentation

◆ After

Type [] After
get

The array of scripts the attributed script should run before.