【问题标题】:How do I get rid of those ambiguous call errors with GoogleARCore Wrappers (CS0121)如何使用 GoogleARCore Wrappers (CS0121) 消除那些模棱两可的调用错误
【发布时间】:2019-12-25 06:15:11
【问题描述】:

Unity 指出的一个错误是与 GoogleARCore CameraApi 相关的错误,其中包含以下几行:

    public TrackingState GetTrackingState(IntPtr cameraHandle)
    {
        ApiTrackingState apiTrackingState = ApiTrackingState.Stopped;
        ExternApi.ArCamera_getTrackingState(m_NativeSession.SessionHandle,
            cameraHandle, ref apiTrackingState);
        return apiTrackingState.ToTrackingState();
    }

Unity 指向的错误是return 语句。由于这是来自 GoogleARCore 的 sn-p,因此应该公平地说不应该有任何错误。但是,Unity 指出这是一个错误? GoogleARCore Wrappers 有更多类似的错误。

【问题讨论】:

  • 您能否添加您收到的确切错误消息?

标签: c# unity3d augmented-reality wrapper camera-api


【解决方案1】:

嘿,所以我想出了一些方法来解决这些错误。重新安装 GoogleARCore 和一些 Unity 崩溃后,它成功了。它不断报告我遇到了一些 Unity 错误问题。

感谢收听...

【讨论】:

    猜你喜欢
    • 2014-10-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-11
    • 2014-09-28
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多