Class RTSUnit Extends VersionedMonoBehaviour

Public

Public Methods

ApplyDamage (damage)
Public
Die ()
Public
OnMakeActiveUnit (active)
Public
SetDestination (destination, mode)
Public

Public Variables

deathEffect
Public
detectionRange
Public
health
Public
locked
Public
maxHealth
Public
onMakeActiveUnit
Public
owner
Public
radius
Public
reservedBy
Public
resource
Public
selected
Public
selectionIndicator
Public
selectionIndicatorEnabled
Public
storedCrystals
Public
team
Public
type
Public

Public Enums

Type
Public

Inherited Public Members

DrawGizmos ()
Public

Private/Protected Members

ai
Private
attackTarget
Private
Awake ()
Protected
DieCoroutine ()
Private
lastDestination
Private
lastSeenAttackTarget
Private
movementMode
Private
mSelected
Private
OnDisable ()
Private
OnEnable ()
Private
OnUpdate (unitsByOwner)
Protected
OnUpdate (units, count)
Private Static
OnUpdateDelegate
Private Static
OnUpgradeSerializedData (version, unityThread)

Handle serialization backwards compatibility.

Protected
position

Position at the start of the current frame.

Protected
reachedDestination
Private
Reset ()

Handle serialization backwards compatibility.

Protected
rvo
Private
transform
Private
weapon
Private