Skip to content

unity升级2022.3版本后,Camera部分枚举标记Obsolete无法生成wrap问题 #1216

@zero-lb

Description

@zero-lb

在[LuaCallCSharp]中对相机注册了typeof(Camera),从unity2019升级到2022后,由于camera.RenderRequestMode被标记为[Obsolete],导致注册不了,所以就注释了,注释后,由于对整个camera都生成了wrap,导致在lua访问到camera时,就报错

Image Image

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