Harvestable.getMaterial

Returns the material name of a harvestable.

Kind: Function

Environments: Game

Game

harvestable:getMaterial(  )

Open the full Game reference

Parameters:

Name Type Description
harvestable Harvestable The harvestable.

Returns:

Type Description
string The name of the material.