Skip to content

partial class 有部分代码是Editor下专用,生成代码后打包手机报错 #484

@leechking1987

Description

@leechking1987

我有一个partial class 部分代码是在Editor下条件编译的,但是整个类打上hotfix标签后Generate Code后将许多Editor下用的类导出到了DelegateBridge,我看了下主要是Editor下用的部分函数的返回值用到了Editor下专用的类。我尝试给这些函数加上blacklist也无法使其不生成,不知道有没有什么好办法?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions