浏览代码

[Error Message] Improved the error and added a link (#411)

/develop-generalizationTraining-TrainerController
GitHub 7 年前
当前提交
786b3a00
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 8
      unity-environment/Assets/ML-Agents/Scripts/CoreBrainInternal.cs

8
unity-environment/Assets/ML-Agents/Scripts/CoreBrainInternal.cs


serializedBrain.ApplyModifiedProperties();
#endif
#if !ENABLE_TENSORFLOW && UNITY_EDITOR
EditorGUILayout.HelpBox (@"You need to install the TensorflowSharp plugin in order to use the internal brain.", MessageType.Error);
EditorGUILayout.HelpBox (
"You need to install and enable the TensorflowSharp plugin in"+
"order to use the internal brain.", MessageType.Error);
if (GUILayout.Button("Show me how"))
{
Application.OpenURL("https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Getting-Started-with-Balance-Ball.md#setting-up-tensorflowsharp-support");
}
#endif
}

正在加载...
取消
保存