Skip to content

Extended [AsBinder] Support - Method Support: #20

@VPDPersonal

Description

@VPDPersonal

Expand the [AsBinder] attribute to support binding to methods, enabling more flexible component interactions without requiring new binder classes.

[View]
public partial class View : MonoView
{
    [AsBinder(typeof(GenericOneWayBinder<bool>))]
    private void IsActive(bool value) =>
        gameObject.SetActive(value);
}

Metadata

Metadata

Assignees

Labels

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions