You need to define a set function to update it after it is changed in the inspector.
You also may need different logic in editor vs in game, use this
Engine.is_editor_hint()
You need to define a set function to update it after it is changed in the inspector.
You also may need different logic in editor vs in game, use this
Engine.is_editor_hint()