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:
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
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.