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

Public Member Functions

RTSPlayer GetPlayer (int team)
 

Public Attributes

new RTSAudio audio
 
int PlayerCount => players.Length
 
RTSUnitManager units
 

Static Public Attributes

static RTSManager instance
 

Protected Member Functions

override void Awake ()
 
- Protected Member Functions inherited from VersionedMonoBehaviour
virtual int OnUpgradeSerializedData (int version, bool unityThread)
 Handle serialization backwards compatibility. More...
 
virtual void Reset ()
 Handle serialization backwards compatibility. More...
 

Private Member Functions

void OnDestroy ()
 

Private Attributes

RTSPlayer [] players
 

Additional Inherited Members

- 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 Function Documentation

◆ Awake()

override void Awake ( )
protectedvirtual

Reimplemented from VersionedMonoBehaviour.

◆ GetPlayer()

RTSPlayer GetPlayer ( int  team)

◆ OnDestroy()

void OnDestroy ( )
private

Member Data Documentation

◆ audio

new RTSAudio audio

◆ instance

RTSManager instance
static

◆ PlayerCount

int PlayerCount => players.Length

◆ players

RTSPlayer [] players
private

◆ units


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