EyE.EditorUnity.Extensions Namespace Reference

Classes

class  EditorPrefInterface
 This class wraps the Unity.EditorPrefs class in the IStorePreferences interface so that it be accessed in the same way as PlayerPrefs. It provides functions that will allow Adding/Deleting/Setting/Getting Editor preferences by Loading/Saving them from/to disk. This class, and Unity EditorPrefs in general are not stored nor available in final, non-editor builds. As such, only Preferences that relate to the Unity editor, and how it functions, should be stored with this class. Another class in this product: PlayerPrefInterface implements the IStorePreferences interface too,but uses Unity's PlayerPrefs class, which IS available in the final build. It should not be necessary for users to directly use this class, unless they wish to create new types of storage functionality, like the EditorPrefOptionArray class does.
 
class  EditorPrefOption
 This class is used to specify a preferences stored via the EditorPrefInterface. It is derived from the PrefOptionBase class.
 
class  EditorPrefOptionArray
 Similar in form to the EditorPrefOptionClass, this class is used to specify a preference that is to be stored as an array of values. Both EditorPrefArrayOption and PlayerPrefOptionArray classes are derived from this one, with each using a specific IStorePreferences interface for the PrefInterfaceType parameter. Unless creating your own IStorePreferences-implementing-class, users should use one of those two derived classes, rather than this one.
 
class  EditorPrefsFromXmlDocs
 The class contains functions for Generated Various Prefs using the fieldName and, for the tool-tip the XMLDocumentataion for the specified field.
 
class  GizmoExtensions
 Class contains multiple functions for drawing gizmos
 
class  PrefOptionBaseEditorDrawingExtensions
 This class contains extension functions used to draw some specific types of PrefOptions. It provides automatic load/save, as needed, and uses the appropriate function in the EditorGUILayout class to draw the fields. Not all preference data-types are supported in this class. However, the user can always create additional extension functions, following the same pattern, to handle and draw whatever type they wish. Currently supports int,float,string,Color, Vector3, Vector2 data types.
 
class  SerializedPropertyExtensions
 Contains extension functions for SerializedProperty to allow direct access to their values via reflection.