Свойство | Type | Description | |
---|---|---|---|
attackCooldownCounter | float | ||
initialColor | |||
oldEnemyTargetPosition | Vector3 | ||
oldTargetPosition | Vector3 | ||
once | bool | ||
recoverCounter | float | ||
selectionRing | GameObject | ||
takeDamageColor | |||
targetAIEnemy | |||
teamFaction | EnumTeam | ||
unitAttributes |
Méthode | 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 |
Méthode | 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 | |
Résultat | void |
public CastRay ( bool isMinimap, Vector3 mousePosition, Camera minimapCamera ) : void | ||
isMinimap | bool | |
mousePosition | Vector3 | |
minimapCamera | Camera | |
Résultat | void |
public MoveToAITarget ( GameObject attacker ) : void | ||
attacker | GameObject | |
Résultat | void |
public MoveToTarget ( GameObject obj ) : void | ||
obj | GameObject | |
Résultat | void |
public OnPlayerDisconnected ( |
||
player | ||
Résultat | void |
public SetTeamColor ( int colorValue ) : void | ||
colorValue | int | |
Résultat | void |
public Color,UnityEngine takeDamageColor | ||
Résultat |