Noob problem Unexpect "Identifier" in class body
Asked Answered
E

2

0

I am new to coding and I cant figure out this problem for the life of me. Is there anyone out there willing to give some input?

Emmen answered 27/2, 2024 at 3:16 Comment(0)
G
2

Emmen Don't do 3.x tutorials in 4.x. Always use the engine version the tutorial is using. Some bits of GDScript syntax changed between versions and if you're a total beginner this may utterly confuse you.
Your specific problem here is that onready changed to @onready

Gnathic answered 27/2, 2024 at 9:50 Comment(0)
E
0

Gnathic thank you so much!

Emmen answered 27/2, 2024 at 11:33 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.