A* Pathfinding Project  4.3.2
The A* Pathfinding Project for Unity 3D
BatchedEvents Class Reference

Classes

struct  Archetype
 

Public Types

enum  Event { Update = 1 << 0, LateUpdate = 1 << 1, FixedUpdate = 1 << 2 }
 

Static Public Member Functions

static void Add< T > (T obj, Event eventTypes, System.Action< T[], int > action, int archetypeVariant=0)
 
static void Add< T > (T obj, Event eventTypes, System.Action< T[], int, Event > action, int archetypeVariant=0)
 
static void Remove< T > (T obj)
 

Private Member Functions

void DoEvent (Event eventType)
 
void FixedUpdate ()
 
void LateUpdate ()
 
void Update ()
 

Static Private Member Functions

static void Add< T > (T obj, Event eventTypes, System.Action< T[], int, Event > action1, System.Action< T[], int > action2, int archetypeVariant=0)
 
static void CreateInstance ()
 

Private Attributes

const int ArchetypeMask = 0xFF << ArchetypeOffset
 
const int ArchetypeOffset = 22
 

Static Private Attributes

static Archetype [] data = new Archetype[0]
 
static BatchedEvents instance
 
static bool isIterating = false
 

Additional Inherited Members

- Protected Member Functions inherited from VersionedMonoBehaviour
virtual void Awake ()
 
virtual int OnUpgradeSerializedData (int version, bool unityThread)
 Handle serialization backwards compatibility. More...
 
virtual void Reset ()
 Handle serialization backwards compatibility. More...
 
- Properties inherited from VersionedMonoBehaviour
int Util.IEntityIndex. EntityIndex [get, set]
 Internal entity index used by #BurstBatchHelper. More...
 
- Properties inherited from IEntityIndex
int EntityIndex [get, set]
 

Member Enumeration Documentation

◆ Event

enum Event
strong
Enumerator
Update 
LateUpdate 
FixedUpdate 

Member Function Documentation

◆ Add< T >() [1/3]

static void Add< T > ( obj,
Event  eventTypes,
System.Action< T[], int >  action,
int  archetypeVariant = 0 
)
static
Type Constraints
T :class 
T :IEntityIndex 

◆ Add< T >() [2/3]

static void Add< T > ( obj,
Event  eventTypes,
System.Action< T[], int, Event action,
int  archetypeVariant = 0 
)
static
Type Constraints
T :class 
T :IEntityIndex 

◆ Add< T >() [3/3]

static void Add< T > ( obj,
Event  eventTypes,
System.Action< T[], int, Event action1,
System.Action< T[], int >  action2,
int  archetypeVariant = 0 
)
staticprivate
Type Constraints
T :class 
T :IEntityIndex 

◆ CreateInstance()

static void CreateInstance ( )
staticprivate

◆ DoEvent()

void DoEvent ( Event  eventType)
private

◆ FixedUpdate()

void FixedUpdate ( )
private

◆ LateUpdate()

void LateUpdate ( )
private

◆ Remove< T >()

static void Remove< T > ( obj)
static
Type Constraints
T :IEntityIndex 

◆ Update()

void Update ( )
private

Member Data Documentation

◆ ArchetypeMask

const int ArchetypeMask = 0xFF << ArchetypeOffset
private

◆ ArchetypeOffset

const int ArchetypeOffset = 22
private

◆ data

Archetype [] data = new Archetype[0]
staticprivate

◆ instance

BatchedEvents instance
staticprivate

◆ isIterating

bool isIterating = false
staticprivate

The documentation for this class was generated from the following file: