浏览代码

fix desktop platform compile error

/main
fzhangtj 6 年前
当前提交
fc239bff
共有 2 个文件被更改,包括 8 次插入6 次删除
  1. 11
      Runtime/engine/UIWidgetsMessageManager.cs
  2. 3
      Runtime/service/keyboard.cs

11
Runtime/engine/UIWidgetsMessageManager.cs


if (!Application.isPlaying) {
return;
}
if (UIWidgetsMessageManager.instance != null) {
if (_instance != null) {
return;
}
var managerObj = new GameObject("__UIWidgetsMessageManager");

#if UNITY_IOS || UNITY_ANDROID
#endif
void OnEnable() {
D.assert(_instance == null, "Only one instance of UIWidgetsMessageManager should exists");
_instance = this;

}
void UpdateNameIfNeed() {
#if UNITY_IOS || UNITY_ANDROID
#if UNITY_IOS || UNITY_ANDROID
#endif
#endif
}
public void AddChannelMessageDelegate(string channel, MethodChannelMessageDelegate del) {

3
Runtime/service/keyboard.cs


}
}
#endif
#endif
#endif
}
正在加载...
取消
保存