Export var for extended class_name not showing in the inspector

Godot Version

4.2.1.stable.mono

Question

I have this class:


class_name Entity
extends Node

@export var stats: Stats : set = set_stats


when i create another one extended from that one, the @ export variable won´t show in the inpector:


class_name Player
extends Entity


Spected: to show like when the gd script is “entity.gd”

Result: the export var is not showed when i attach the “player.gd” script extended from “entity.gd”

It does show when adding more code, for some reason

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.