Hello guys!
I have a base Scene "Enemy" with Area2D "detect_radius".
In script i do:
export (int) var detectradius
func _Ready():
$DetectRadius/CollisionShape2D.shape.radius = detectradius
I inherit from this Scene and Change the value of the Export var.
Enemy to 30.
Endboss to 50.
Now to the Problem... in my tree if i put it like this.
-Enemy
-Endboss
Both of them has 50.
Otherway around.
-Endboss
-Enemy
Both of them has 30.
Do i understand something wrong?
Or do i Need the Area2D in every Scene and not inherit from Enemy?