This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hi, I am (for some reason) trying to remove the base types from the editor using a plugin. I am trying to rewrite the nodes that I often need to use, and remove the ones I never use (like ARVR). I have already tried doing something like this:

tool
extends EditorPlugin


func _enter_tree():
    remove_custom_type("Spatial")


func _exit_tree():
    pass

What I want to be left with is just the Node node, and nothing else, so that I can rewrite the rest. If someone knows how to do something like this/what I am doing wrong, I would be eternally grateful.

Thank you.

Godot version v3.3.2.stable.official
in Engine by (248 points)

1 Answer

0 votes
Best answer

The solution is to go into Editor -> Manage Editor Features and create two profiles: default and edited, which has the selected nodes removed.

by (248 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.