- Edited
The last thing I tried is to use a nested class to make it work but it really doesn't Previously it was outside this class. I would be grateful if you could show me how to do it.
using Godot;
using System;
public class Enemy : KinematicBody2D
{
// Declare member variables here. Examples:
// private int a = 2;
// private string b = "text";
// Called when the node enters the scene tree for the first time.
[Export]
public int SPEED = 30;
public class EnemySettings
{
//This doesn't show in GoDot
[Export]
public int GRAVITY =10;
public Vector2 FLOOR { get; } = new Vector2(0,-1);
}