Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | EIREXE | |
Old Version | Published before Godot 3 was released. |
Hi, my code looks something like this:
func _ready():
var test = SecondClass.new(4)
test.method_example()
class FirstClass:
var a
func _init(a):
a=a
class SecondClass:
extends FirstClass
func _init(a).(a):
pass
func method_example():
print(str(a))
However I have not fo und a way to access a from SecondClass, is this even possible?