Skip to content

YarnOptionsPresenter doesn't work with YarnOptionItem #5

@kinggra1

Description

@kinggra1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions