I migrated from C# to GDScript implementation in a couple of days without too much of a hassle (yay!) but one piece that I hit a wall on is the built-in options_presenter.gd and option_item.gd. May be a misunderstanding on my part based on how I used the corresponding classes in C# version, but it seems like these don't quite fit together how I would expect.
YarnOptionItem itself generally seems to make sense to me, but I would expect the option_button_scene in YarnOptionsPresenter to accept a YarnOptionItem scene, but it errors if anything other than a vanilla Godot Button is set. The check for set_option_text method also seems to imply this should work with something that has a set_option_text method, but neither Button (nor YarnOptionItem FWIW) have this method
I migrated from C# to GDScript implementation in a couple of days without too much of a hassle (yay!) but one piece that I hit a wall on is the built-in options_presenter.gd and option_item.gd. May be a misunderstanding on my part based on how I used the corresponding classes in C# version, but it seems like these don't quite fit together how I would expect.
YarnOptionItem itself generally seems to make sense to me, but I would expect the option_button_scene in YarnOptionsPresenter to accept a YarnOptionItem scene, but it errors if anything other than a vanilla Godot Button is set. The check for set_option_text method also seems to imply this should work with something that has a
set_option_textmethod, but neitherButton(nor YarnOptionItem FWIW) have this method