Property | Type | Description | |
---|---|---|---|
attackCooldownCounter | float | ||
initialColor | |||
oldEnemyTargetPosition | Vector3 | ||
oldTargetPosition | Vector3 | ||
once | bool | ||
recoverCounter | float | ||
selectionRing | GameObject | ||
takeDamageColor | |||
targetAIEnemy | |||
teamFaction | EnumTeam | ||
unitAttributes |
Method | Description | |
---|---|---|
Attack ( ) : void | ||
AttackAI ( GameObject victim, float attackCounter ) : void | ||
CastRay ( bool isMinimap, Vector3 mousePosition, Camera minimapCamera ) : void | ||
DisableVisibility ( ) : void | ||
EnableVisibility ( ) : void | ||
FixedUpdate ( ) : void | ||
MoveToAITarget ( GameObject attacker ) : void | ||
MoveToTarget ( GameObject obj ) : void | ||
OnPlayerDisconnected ( |
||
OnStartClient ( ) : void | ||
SetTeamColor ( int colorValue ) : void | ||
Start ( ) : void | ||
ToggleVisibility ( ) : void | ||
Update ( ) : void | ||
UpdateStatus ( ) : void | ||
UpdateUnitAttributes ( ) : void |
Method | Description | |
---|---|---|
CmdAttack ( GameObject victim, float attackCounter ) : void | ||
CmdDestroy ( ) : void | ||
CmdSetTarget ( GameObject obj, Vector3 target ) : void | ||
CmdSetTargetEnemy ( GameObject obj, GameObject enemy, GameObject attackee ) : void | ||
CmdTakeDamage ( GameObject playerUnitObject, int newHealth ) : void | ||
CmdUnitDestroy ( GameObject obj ) : void | ||
CmdUpdateStatus ( bool targetEnemyIsGone, |
||
RpcDestroy ( ) : void | ||
RpcSetTarget ( GameObject obj, Vector3 target ) : void | ||
RpcSetTargetEnemy ( GameObject attacker, GameObject enemyInLineOfSight, GameObject victimInAttackRange ) : void | ||
RpcUnitDestroy ( GameObject obj ) : void | ||
RpcUpdateStatus ( bool targetEnemyIsGone, |
||
SetTargetAIEnemy ( GameObject attacker, GameObject enemyInLineOfSight, GameObject victimInAttackRange ) : void | ||
SetTargetEnemy ( GameObject attacker, GameObject enemy, GameObject victim ) : void |
public AttackAI ( GameObject victim, float attackCounter ) : void | ||
victim | GameObject | |
attackCounter | float | |
return | void |
public CastRay ( bool isMinimap, Vector3 mousePosition, Camera minimapCamera ) : void | ||
isMinimap | bool | |
mousePosition | Vector3 | |
minimapCamera | Camera | |
return | void |
public MoveToAITarget ( GameObject attacker ) : void | ||
attacker | GameObject | |
return | void |
public MoveToTarget ( GameObject obj ) : void | ||
obj | GameObject | |
return | void |
public OnPlayerDisconnected ( |
||
player | ||
return | void |
public SetTeamColor ( int colorValue ) : void | ||
colorValue | int | |
return | void |