- Edited
I've created a custom resource script and would like to create an instance of it in my Filesystem. According to the docs, it seems I just need to create a class that extends Resource and the Godot editor should be able to find it. However, I've tried both compiling my code and restarting the editor and my resource is just not appearing in the Create New Resource menu that you get from clicking the New Resource icon in the Inspector menu. The language I'm using is C# and Godot version 3.3.4.
Am I missing something?
using Godot;
using System;
public class InventoryItem : Resource
{
public string id = "";
public string name = "";
public string icon = "";
}