You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tool scripts can break things while working on them even if you are careful with is_editor_hint safeguards, so, to avoid reading input or running process callbacks, we could use some special tool modes that ignore these active callbacks.
Like, adding a new @tool_paused annotation and leaving the active one as @tool.
Or @tool(active:bool=true) if possible with the annotation system.
Inactive/paused tools will then start with all input and process disabled in the editor making them simpler without polluting the main game logic.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Tool scripts can break things while working on them even if you are careful with
is_editor_hint
safeguards, so, to avoid reading input or running process callbacks, we could use some special tool modes that ignore these active callbacks.Like, adding a new
@tool_paused
annotation and leaving the active one as@tool
.Or
@tool(active:bool=true)
if possible with the annotation system.Inactive/paused tools will then start with all
input
andprocess
disabled in the editor making them simpler without polluting the main game logic.Beta Was this translation helpful? Give feedback.
All reactions