浏览代码

Fixed typo in `BrainEditor`. (#64)

Replaced `myst` with `must`.
/develop-generalizationTraining-TrainerController
Arthur Juliani 7 年前
当前提交
81d896f1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      unity-environment/Assets/ML-Agents/Editor/BrainEditor.cs

2
unity-environment/Assets/ML-Agents/Editor/BrainEditor.cs


SerializedObject serializedBrain = new SerializedObject (target);
if (myBrain.transform.parent == null) {
EditorGUILayout.HelpBox ("A Brain GameObject myst be a child of an Academy GameObject!", MessageType.Error);
EditorGUILayout.HelpBox ("A Brain GameObject must be a child of an Academy GameObject!", MessageType.Error);
} else if (myBrain.transform.parent.GetComponent<Academy> () == null) {
EditorGUILayout.HelpBox ("The Parent of a Brain must have an Academy Component attached to it!", MessageType.Error);
}

正在加载...
取消
保存