Unit.getCharacter
Returns the character associated with a unit.
Kind: Function
Environments: Game
Game
unit:getCharacter( )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
unit |
Unit | The unit. |
Returns:
| Type | Description |
|---|---|
| Character | The associated character. |