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:
image

When I remove string values:
image

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.