Struct Health
Container for storing health data for a player or item.
Inherited Members
Namespace: DocumentationCodeSamples
Assembly: Unity.Netcode.Editor.Tests.dll
Syntax
public struct Health
Fields
CurrentHealth
The current level of health that this player or item has. This is likely to change regularly.
Declaration
public int CurrentHealth
Field Value
| Type | Description |
|---|---|
| int |
MaxHealth
The maximum health that this player or item can have. This is unlikely to change often.
Declaration
public uint MaxHealth
Field Value
| Type | Description |
|---|---|
| uint |