Cocos creator 3.2.1 Enum with string value isn't visible in inspector

Hi all. I defined such enum:

export enum Currency {
	Soft = 'Coins',
	Hard = 'GEM',
	Money = 'USD',
	ADS = 'View_ad',

and set it as property for component…

but I noticed its values aren’t visible in inspector:

When I remove string values:

creator does not support string enumeration as an attribute

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.