浏览代码

Merge remote-tracking branch 'tech-mkt/state-machine-improvements' into state-machine-improvements

/main
Ciro Continisio 4 年前
当前提交
c1c6c1bd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      UOP1_Project/Assets/Scripts/StateMachine/Editor/TransitionDisplayHelper.cs

2
UOP1_Project/Assets/Scripts/StateMachine/Editor/TransitionDisplayHelper.cs


EditorGUI.PropertyField(new Rect(rect.x + rect.width - 60, rect.y, 60, rect.height), prop.FindPropertyRelative("ExpectedResult"), GUIContent.none);
// Only display the logic condition if there's another one after this
if(index < reorderableList.count - 1)
if (index < reorderableList.count - 1)
EditorGUI.PropertyField(new Rect(rect.x + 20, rect.y + EditorGUIUtility.singleLineHeight + 5, 60, rect.height), prop.FindPropertyRelative("Operator"), GUIContent.none);
};

正在加载...
取消
保存