phaserjs / phaser-editor-issues

Phaser Editor's bug tracker.
0 stars 0 forks source link

Hide Prefab sections with no defined properties from the Inspector #25

Open tomas-correia opened 2 months ago

tomas-correia commented 2 months ago

image

I wanted to suggest that Prefabs with no defined properties shouldn't appear in the sidebar like that. My TriggerArea prefab extends PolygonArea, which doesn't actually have any properties associated with it.

If I had a bigger tree of inheritance going on, I would have multiple Prefab sections piled up in the sidebar for no reason at all, since they don't need properties.