internal TransitionDisplayHelper(SerializedTransition serializedTransition, TransitionTableEditor editor) { SerializedTransition = serializedTransition; _reorderableList = new ReorderableList(SerializedTransition.Transition.serializedObject, SerializedTransition.Conditions, true, false, true, true); SetupConditionsList(_reorderableList); _editor = editor; }
internal DisplayTransition(SerializedTransition serializedTransition, TransitionTableEditor editorInternal) { SerializedTransition = serializedTransition; reorderableList = new ReorderableList(SerializedTransition.Transition.serializedObject, SerializedTransition.Conditions, true, false, true, true); SetupConditionsList(reorderableList); editor = editorInternal; }
internal AddTransitionHelper(TransitionTableEditor editor) { _editor = editor; _transition = new SerializedObject(ScriptableObject.CreateInstance <TransitionItemSO>()); SerializedTransition = new SerializedTransition(_transition.FindProperty("Item")); _list = new ReorderableList(_transition, SerializedTransition.Conditions); SetupConditionsList(_list); }
internal AddTransition(TransitionTableEditor editor) { helper = this; helper.editor = editor; transition = new SerializedObject(CreateInstance <TransitionItemSO>()); SerializedTransition = new SerializedTransition(transition.FindProperty(Item)); list = new ReorderableList(transition, SerializedTransition.Conditions); SetConditionsList(list);