Godot Version
4.2.1
Question
First of all, I’m using the C# API.
Earlier this day, I tried using the ProjectSettings static class in order to create and remove custom settings for an editor plugin. No problem for the creation.
But for the deletion, it is written in the latest godot’s documentation:
(talking about SetSetting):
" This can also be used to erase custom project settings. To do this change the setting value to null
."
The thing is, the second argument, the value, can’t be null. It’s expected to be a Godot.Variant. Which can’t be a C# null value.
Here is my code, which is quite short (with the doc sentence about erase!):
Here is my problem, I don’t know if I’m doing anything wrong here ?
Thanks !
Pantoine