Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported variables in extended script should follow godot natural inheritance order #26463

Open
Ranoller opened this issue Mar 1, 2019 · 0 comments

Comments

@Ranoller
Copy link
Contributor

Ranoller commented Mar 1, 2019

Godot version:

5e837b3

OS/device including version:

Win7

Issue description:

An script that extends other script class doesn´t shows in inspector the exported properties in the godot natural inheritance order.

Ej:
Script class named full_enemy that extends a class namedbasic_enemy that extends a class enemy_object that extends kinematicBody2D has this property order in inspector:

  • enemy_object
  • basic_enemy
  • full_enemy
  • KinematicBody2D
  • PhysicsBody2D
    -etc......

If we follow the order that godot naturally follow in inspector (Down in inheritance), the order should be:

  • full_enemy
  • basic_enemy
  • enemy_object
  • KinematicBody2D
  • PhysicsBody2D
    -etc......

(And could be great to see the class difference in inspector in the same way that you can see the differences between Node-Node2D-CanvasItem etc....)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants