private void DrawSelectedElement(int index) { Color resetColor = GUI.color; GUI.color = new Color(0, 1, 1); GUILayout.BeginVertical(EditorStyles.helpBox, _Options); GUI.color = resetColor; OnDrawElement?.Invoke(index); GUILayout.EndVertical(); }
private void DrawSelectedElement(int index) { Color resetColor = GUI.color; GUI.color = Color.HSVToRGB(0.5f, 0.5f, 1); GUILayout.BeginVertical(GUI.skin.box, _Options); GUI.color = resetColor; OnDrawElement?.Invoke(index); GUILayout.EndVertical(); }
private void DrawElement(int index) { GUILayout.BeginVertical(EditorStyles.helpBox, _Options); OnDrawElement?.Invoke(index); GUILayout.EndVertical(); }
private void DrawElement(int index) { GUILayout.BeginVertical(GUI.skin.box, _Options); OnDrawElement?.Invoke(index); GUILayout.EndVertical(); }