![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | ISVios |
Image, we have a tool-class with param :
- export var type # {Zombie, Ghost,…etc}
- export var left_hand = null
- export var right_hand = null
- other export vars
Can I hide(unexport var left_hand , unexport var right_hand, ) when type is Ghost, means don`t show in “Inspector” panel ?
Sorry about my English.
I think, I found on Reddit - Dive into anything
But I don’t know how set up enum export.
ISVios | 2021-11-02 10:37
Based on a quick look at the source code, I don’t think integer enumerations are supported here, only strings using PROPERTY_HINT_ENUM.
fractile | 2021-11-03 15:09