What can I do to show my custom class in built-in class list?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JulioYagami

I saw a keyword in the documentation that shows the node in the built-in class list, but I forgot it. Also, I wanted to know if it is possible to extend this class from the list.

Hi, I could be misunderstanding but as far as I know it is only possible to add to the build-in class list using plugins and the new 3.1 class registering.

Making Plugins — Godot Engine (3.0) documentation in English

http://docs.godotengine.org/en/latest/getting_started/step_by_step/scripting_continued.html#register-scripts-as-classes

If there is some other way I would really like to know about it.

MysteryGM | 2018-12-02 19:02

:bust_in_silhouette: Reply From: SIsilicon

This feature is only available in the upcoming Godot 3.1.

extends OtherClass

# (optional) class definition with a custom icon
class_name MyClass, "res://path/to/optional/icon.svg"

Thank you for the answer.

JulioYagami | 2018-12-02 19:04

If you’d like, you can download and try out Godot 3.1 alpha 2 here.

SIsilicon | 2018-12-02 19:11