Свойство | Тип | Описание | |
---|---|---|---|
HealthSpheres | Renderer[] | ||
PlayerScript | PlayerScript | ||
_Health | int | ||
_Shield | int | ||
deathPrefab | GameObject | ||
invulnerabilityTime | float | ||
maxHealth | int | ||
maxShield | int | ||
shieldRegenTime | float | ||
shieldRenderer | Renderer | ||
timeUntilRespawn | float |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
DeclareHitToOthers ( int damage, Vector3 point, PlayerPresence instigator ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
PlayDeathPrefab ( ) : void | ||
Update ( ) : void | ||
UpdateShield ( ) : void |
Метод | Описание | |
---|---|---|
DoDamageOwner ( int damage, Vector3 point, PlayerPresence instigator ) : void | ||
OthersReceiveHit ( int damage, Vector3 point, uLink instigatorPresenceViewID ) : void | ||
RemotePlayDeathPrefab ( ) : void | ||
ShotFired ( ) : void | ||
UpdateHealthSphereVisibility ( ) : void |
public DeclareHitToOthers ( int damage, Vector3 point, PlayerPresence instigator ) : void | ||
damage | int | |
point | Vector3 | |
instigator | PlayerPresence | |
Результат | void |