void DrawSetStartingPointButton(int id) { NodeType typeNode = EditorInfo.WindowTypes[id]; int startTypeId = EditorInfo.NodeTypesIDs[id]; if (!EditedDialogue.IsStartPoint(startTypeId, typeNode)) { if (GUILayout.Button("Set As Start Point")) { EditedDialogue.SetStartPoint(startTypeId, typeNode); } } else { GUILayout.Label("Starting Point of the Dialogue", EditorStyles.boldLabel); } }
private bool ValidateConditionChain(int conditionIndex) { bool result = EditedDialogue.ConditionChainValidation(conditionIndex); return(result); }