Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Ole |
To expose my variable Unit_Power
to be editable in the Inspector GUI, I use the function ‘export()
’ like this:
export(float, 3.0, 30.0, 0.5) var Unit_Power setget , get_Unit_Power
func get_Unit_Power() -> float:
return Unit_Power;
Now suppose I want to disable GUI-editing of some default property, like CollisionShape
> Scale
…
… Is there a function ‘unexport()
’ or similar for that?
… If not, I suggest there should be.