EditorPrefOptionSample Class Reference

This example class will define a set of EditorPrefOptions, and code for drawing them in a Unity editor window.

Static Public Member Functions

static void OnGUI ()
 In this callback-function the EditorPrefOptios automatically load the preference values, and then save the new value entered by the user. The EditorPrefOptions also contain a label field, for convenient consistency.