I'm new to Godot so I'm sure I did something wrong but I can't figure out what it could be. I created a scene "piece" and then I created 8 scenes which all inherit from piece. These are blue_piece, green_piece, etc. So far, so good.
Now, I created a script and attached it to piece. The code for the piece is as follows:
extends Node2D
@export var color: String = ""
func _ready() -> void:
pass
func _process(delta: float) -> void:
pass
When I look at piece in the Inspector I see "Color" - great! It's listed under the script name.
When I look at blue_piece or green_piece, etc in the Inspector I do NOT see "Color"
Where am I going wrong?