Skip to content

"Callable" type is missing "Bind" method in C#, and maybe more. #68752

@Maveyyl

Description

@Maveyyl

Godot version

Godot_v4.0-beta4_mono_win64, Godot_v4.0-beta5_mono_win64

System information

Windows 10

Issue description

Up to godot v4.0 beta 3, Callable had a constructor in C# that took a delegate. I used that constructor to give lambda functions so that I could bind specific values to function calls.

In beta 4 and 5 that constructor disappeared. Therefore I'm supposed to use the "Bind" method to bind specific values, but that method is absent from the API.

Steps to reproduce

Open any project on version Godot_v4.0-beta5_mono_win64 and Godot_v4.0-beta3_mono_win64, open the project in the c# editor of your choice, browse the Callable header, compare the API to the GDscript API of Callable.

Minimal reproduction project

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions