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

Private/Protected Members

Awake ()
Protected
DieCoroutine ()
Private
OnDisable ()
Private
OnEnable ()
Private
OnUpdate (units, count)
Private Static
OnUpdate (unitsByOwner)
Protected
OnUpdateDelegate
Private Static
OnUpgradeSerializedData (version, unityThread)

Handle serialization backwards compatibility.

Protected
Reset ()

Handle serialization backwards compatibility.

Protected
ai
Private
attackTarget
Private
lastDestination
Private
lastSeenAttackTarget
Private
mSelected
Private
movementMode
Private
position

Position at the start of the current frame.

Protected
reachedDestination
Private
rvo
Private
transform
Private
weapon
Private