Character.getUnit
Returns the unit controlling the character.
Kind: Function
Environments: Game
Game
character:getUnit( )
Parameters:
| Name | Type | Description |
|---|---|---|
character |
Character | The character. |
Returns:
| Type | Description |
|---|---|
| Unit | The unit controlling the character. |