public override void OnFlowWindowGUI(FD.FlowWindow window) { if (window.CanCompiled() == false) return; if (string.IsNullOrEmpty(window.compiledDirectory) == false) { window.compiled = System.IO.File.Exists(window.compiledDirectory + "/" + window.compiledBaseClassName + ".cs"); } var oldColor = GUI.color; var style = new GUIStyle("U2D.dragDotDimmed"); var styleCompiled = new GUIStyle("U2D.dragDot"); var elemWidth = style.fixedWidth - 3f; var posY = -1f; var posX = -1f; GUI.color = window.compiled ? Color.white : Color.red; GUI.Label(new Rect(posX, posY, elemWidth, style.fixedHeight), new GUIContent(string.Empty, window.compiled ? "Compiled" : "Not compiled"), window.compiled ? styleCompiled : style); GUI.color = oldColor; }