【问题标题】:error CS0117: `UnityEditor.PlayerSettings' does not contain a definition for `mobileMTRendering'错误 CS0117:“UnityEditor.PlayerSettings”不包含“mobileMTRendering”的定义
【发布时间】:2018-01-24 15:21:35
【问题描述】:

由于我进行了 Unity 更新,我无法构建我的视频播放器。

Assets/AVProVideo/Scripts/Editor/MediaPlayerEditor.cs(293,50):错误 CS0117:“UnityEditor.PlayerSettings”不包含“mobileMTRendering”的定义

我正在使用 Unity 2017.2

【问题讨论】:

    标签: unity3d


    【解决方案1】:

    Unity 2017.1 似乎提供了一个新功能:

    PlayerSettings.SetMobileMTRendering(BuildTargetGroup.iOS, true);
    PlayerSettings.SetMobileMTRendering(BuildTargetGroup.Android, true);
    

    来源:https://docs.unity3d.com/ScriptReference/PlayerSettings.SetMobileMTRendering.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-10-30
      • 1970-01-01
      • 1970-01-01
      • 2012-12-17
      • 2011-02-18
      • 1970-01-01
      • 2018-09-29
      • 2019-11-02
      相关资源
      最近更新 更多