Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Sudath_3D |
I cant understand, why it is? how can I fix this issue. please help me. Thanks!
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Sudath_3D |
I cant understand, why it is? how can I fix this issue. please help me. Thanks!
Reply From: | kidscancode |
You wrote
var score = 0 setget set_score
That means that you want the setter function to be called “set_score”. You have no function defined with that name. You do have
func set_get(new_score):
But I think that’s not what you meant to name that function.