Method OnGUI OnGUI(Rect) Draws the curve editor. This is meant to be called in your custom editors. Declaration public bool OnGUI(Rect rect) Parameters Type Name Description Rect rect The rectangle to draw into. Returns Type Description bool true if the user modified the curve, false otherwise.