A* Pathfinding Project  4.1.4
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
EditorBase Class Reference

Helper for creating editors. More...

Detailed Description

Helper for creating editors.

Public Member Functions

sealed override void OnInspectorGUI ()
 

Protected Member Functions

void Clamp (string name, float min, float max=float.PositiveInfinity)
 
void ClampInt (string name, int min, int max=int.MaxValue)
 
SerializedProperty FindProperty (string name)
 
virtual void Inspector ()
 
void IntSlider (string name, int left, int right)
 
virtual void OnEnable ()
 
bool PropertyField (string propertyPath, string label=null, string tooltip=null)
 
bool PropertyField (SerializedProperty prop, string label=null, string tooltip=null)
 

Private Member Functions

string FindLocalTooltip (string path)
 
bool PropertyField (SerializedProperty prop, string label, string tooltip, string propertyPath)
 

Static Private Member Functions

static string FindTooltip (string path)
 
static string FindURL (System.Type type, string path)
 
static string FindURL (string path)
 
static void LoadMeta ()
 

Private Attributes

Dictionary< string, string > localTooltips = new Dictionary<string, string>()
 
Dictionary< string,
SerializedProperty > 
props = new Dictionary<string, SerializedProperty>()
 

Static Private Attributes

static
System.Collections.Generic.Dictionary
< string, string > 
cachedTooltips
 
static
System.Collections.Generic.Dictionary
< string, string > 
cachedURLs
 
static GUIContent content = new GUIContent()
 
static GUILayoutOption[] noOptions = new GUILayoutOption[0]
 
static GUIContent showInDocContent = new GUIContent("Show in online documentation", "")
 

Member Function Documentation

void Clamp ( string  name,
float  min,
float  max = float.PositiveInfinity 
)
protected
void ClampInt ( string  name,
int  min,
int  max = int.MaxValue 
)
protected
string FindLocalTooltip ( string  path)
private
SerializedProperty FindProperty ( string  name)
protected
static string FindTooltip ( string  path)
staticprivate
static string FindURL ( System.Type  type,
string  path 
)
staticprivate
static string FindURL ( string  path)
staticprivate
void IntSlider ( string  name,
int  left,
int  right 
)
protected
static void LoadMeta ( )
staticprivate
virtual void OnEnable ( )
protectedvirtual

Reimplemented in RecastMeshObjEditor, and BaseAIEditor.

sealed override void OnInspectorGUI ( )
bool PropertyField ( string  propertyPath,
string  label = null,
string  tooltip = null 
)
protected
bool PropertyField ( SerializedProperty  prop,
string  label = null,
string  tooltip = null 
)
protected
bool PropertyField ( SerializedProperty  prop,
string  label,
string  tooltip,
string  propertyPath 
)
private

Member Data Documentation

System.Collections.Generic.Dictionary<string, string> cachedTooltips
staticprivate
System.Collections.Generic.Dictionary<string, string> cachedURLs
staticprivate
GUIContent content = new GUIContent()
staticprivate
Dictionary<string, string> localTooltips = new Dictionary<string, string>()
private
GUILayoutOption [] noOptions = new GUILayoutOption[0]
staticprivate
Dictionary<string, SerializedProperty> props = new Dictionary<string, SerializedProperty>()
private
GUIContent showInDocContent = new GUIContent("Show in online documentation", "")
staticprivate

The documentation for this class was generated from the following file: