godotengine / godotengine/godot-docs

C#: Document Object _init replaced with default constructor

Open
#2,930 5 comments 3 reactions 0 assignees View on GitHub
area:manual enhancement topic:dotnet
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

This distinction isn't remarked at all in the documents and its not really made clear anywhere that this is specifically what should be done. Even as a C# developer I was unsure if this was desirable in Godot to use the constructor since I thought it could be called more then once.

On the side if its not actually desirable to use the default constructor for _init, it would seem there is not equal alternative, in which case that should be documented.

In either case the difference between _init behavior and default constructor behavior if any exists should also be documented.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.