isConsumable property

bool isConsumable
getter/setter pair

This checks if the product is consumable.

A consumable is a product which can be disabled after certain use. e.g. Fuel of a vehicle, Gold coins, etc.

Implementation

bool isConsumable;