Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | C3P0h_no |
I created the object Prop2D it has a Script Variable in which the level designer
can choose a sprite. This sprite is of course only visible when the game is run.
My question is, can I give my Prop2D object a gizmo to make it easier for the lvl designer to see where he placed said props in the scene?
(the default gizmo is hard to see and difficult to select)
I tried with the EditorSpatialGizmo, with no success.
Is your Prop2D declared as tool
?
If yes you could setget
your variable to make appear instantly in the editor.
You could also add a Sprite
or somehting so you have something to click on in the editor and delete it in the _ready()
method. Engine.editor_hint
might come in handy.
whiteshampoo | 2021-03-31 07:14
No, it is not declared as a tool. But i’ve gone with the sprite idea, and it works perfecty. Thank you
MadJester | 2021-04-09 06:39