Chloroplast Games Framework
Assets.CGF.Editor.CGFEditorUtilities Class Reference

Utility and functionality set for the Unity inspector. More...

Static Public Member Functions

static GUIContent BuildGUIContent (string name, string description)
 Parameter name and description. More...
 
static void BuildComponentTools (string documentationURL, SerializedObject serializedObject)
 Documentation link and Component deleter tools builder. More...
 
static void BuildRequiredComponents (params Type[] components)
 List of components required from the target Script to work correctly. More...
 
static void BuildSceneList (string enumerationName, SerializedProperty property)
 Enumeration of the available scenes in the project BuildSettings. More...
 
static void BuildSceneList (string enumerationName, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Enumeration of the available scenes in the project BuildSettings with locking. More...
 
static void BuildTagList (string propertyName, SerializedProperty property)
 Enumeration of the available tags in the project Tags&Layers. More...
 
static void BuildTagList (string propertyName, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Enumeration of the available tags in the project Tags&Layers with locking. More...
 
static void BuildLayerList (string propertyName, SerializedProperty property)
 Enumeration of the available layers in the project Tags&Layers. More...
 
static void BuildLayerList (string propertyName, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Enumeration of the available layers in the project Tags&Layers with locking. More...
 
static void BuildSortingLayers (string enumerationName, SerializedProperty property)
 Enumeration of the available Sorting Layers in the project Tags&Layers. More...
 
static void BuildSortingLayers (string enumerationName, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Enumeration of the available Sorting Layers in the project Tags&Layers with locking. More...
 
static void ManageComponentValues< T > ()
 Component data manager. More...
 
static void BackUpComponentValues< T > (SerializedObject serializedObject)
 Component Backup manager. More...
 
static void SaveBackUpList ()
 Save the Backup list information to an external file. More...
 
static void LoadBackUpList ()
 Load the Backup list information from an external file. More...
 
static void BuildInt (string propertyName, string propertyDescription, SerializedProperty property)
 Integer value builder. More...
 
static void BuildInt (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Integer value builder with locking. More...
 
static void BuildInt (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Integer value builder with units. More...
 
static void BuildInt (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Integer value builder with units and locking. More...
 
static void BuildIntPositive (string propertyName, string propertyDescription, SerializedProperty property)
 Positive integer value builder. More...
 
static void BuildIntPositive (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Positive integer value builder with locking. More...
 
static void BuildIntPositive (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Positive integer value builder with units. More...
 
static void BuildIntPositive (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Positive integer value builder with units and locking. More...
 
static void BuildIntNegative (string propertyName, string propertyDescription, SerializedProperty property)
 Negative integer value builder. More...
 
static void BuildIntNegative (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Negative integer value builder with locking. More...
 
static void BuildIntNegative (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Negative integer value builder with units. More...
 
static void BuildIntNegative (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Negative integer value builder with units and locking. More...
 
static void BuildIntSlider (string propertyName, string propertyDescription, SerializedProperty property, int minSliderValue, int maxSliderValue)
 Integer value builder within a slider. More...
 
static void BuildIntSlider (string propertyName, string propertyDescription, SerializedProperty property, int minSliderValue, int maxSliderValue, SerializedProperty enumLocker, params int[] enumValues)
 Integer value builder within a slider with locking. More...
 
static void BuildIntSlider (string propertyName, string propertyDescription, SerializedProperty property, string units, int minSliderValue, int maxSliderValue)
 Integer value builder within a slider with units. More...
 
static void BuildIntSlider (string propertyName, string propertyDescription, SerializedProperty property, string units, int minSliderValue, int maxSliderValue, SerializedProperty enumLocker, params int[] enumValues)
 Integer value builder within a slider with units and locking. More...
 
static void BuildFloat (string propertyName, string propertyDescription, SerializedProperty property)
 Float value builder. More...
 
static void BuildFloat (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Float value builder with locking. More...
 
static void BuildFloat (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Float value builder with units. More...
 
static void BuildFloat (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Float value builder with units and locking. More...
 
static void BuildFloatPositive (string propertyName, string propertyDescription, SerializedProperty property)
 Positive float value builder. More...
 
static void BuildFloatPositive (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Positive float value builder with locking. More...
 
static void BuildFloatPositive (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Positive float value builder with units. More...
 
static void BuildFloatPositive (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Positive float value builder with units and locking. More...
 
static void BuildFloatNegative (string propertyName, string propertyDescription, SerializedProperty property)
 Negative float value builder. More...
 
static void BuildFloatNegative (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Negative float value builder with locking. More...
 
static void BuildFloatNegative (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Negative float value builder with units. More...
 
static void BuildFloatNegative (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Negative float value builder with units and locking. More...
 
static void BuildFloatCeil (string propertyName, string propertyDescription, SerializedProperty property)
 Float value builder representing the smallest integer that is greater than or equal to the specified value. More...
 
static void BuildFloatCeil (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Float value builder with locking representing the smallest integer that is greater than or equal to the specified value. More...
 
static void BuildFloatCeil (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Float value builder with units representing the smallest integer that is greater than or equal to the specified value. More...
 
static void BuildFloatCeil (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Float value builder with units and locking representing the smallest integer that is greater than or equal to the specified value. More...
 
static void BuildFloatFloor (string propertyName, string propertyDescription, SerializedProperty property)
 Float value builder representing the largest integer that is less than or equal to the specified value. More...
 
static void BuildFloatFloor (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Float value builder with locking representing the largest integer that is less than or equal to the specified value. More...
 
static void BuildFloatFloor (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Float value builder with units representing the largest integer that is less than or equal to the specified value. More...
 
static void BuildFloatFloor (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Float value builder with units and locking representing the largest integer that is less than or equal to the specified value. More...
 
static void BuildFloatRounded (string propertyName, string propertyDescription, SerializedProperty property)
 Float value builder representing the nearest integer or to the specified value. More...
 
static void BuildFloatRounded (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Float value builder with locking representing the nearest integer or to the specified value. More...
 
static void BuildFloatRounded (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Float value builder with units representing the nearest integer or to the specified value. More...
 
static void BuildFloatRounded (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Float value builder with units and locking representing the nearest integer or to the specified value. More...
 
static void BuildFloatSlider (string propertyName, string propertyDescription, SerializedProperty property, float minSliderValue, float maxSliderValue)
 Float value builder within a slider. More...
 
static void BuildFloatSlider (string propertyName, string propertyDescription, SerializedProperty property, float minSliderValue, float maxSliderValue, SerializedProperty enumLocker, params int[] enumValues)
 Float value builder with locking within a slider. More...
 
static void BuildFloatSlider (string propertyName, string propertyDescription, SerializedProperty property, string units, float minSliderValue, float maxSliderValue)
 Float value builder with units within a slider. More...
 
static void BuildFloatSlider (string propertyName, string propertyDescription, SerializedProperty property, string units, float minSliderValue, float maxSliderValue, SerializedProperty enumLocker, params int[] enumValues)
 Float value builder with units and loking within a slider More...
 
static void BuildSliderRanged (string propertyName, string propertyDescription, SerializedProperty minSliderValue, SerializedProperty maxSliderValue, float minLimitValue, float maxLimitValue)
 Builds a margin between two float values within an slider. More...
 
static void BuildSliderRanged (string propertyName, string propertyDescription, SerializedProperty minSliderValue, SerializedProperty maxSliderValue, float minLimitValue, float maxLimitValue, SerializedProperty enumLocker, params int[] enumValues)
 Builds a margin between two float values within an slider with locking. More...
 
static void BuildSliderRanged (string propertyName, string propertyDescription, SerializedProperty minSliderValue, SerializedProperty maxSliderValue, string units, float minLimitValue, float maxLimitValue)
 Builds a margin between two float values within an slider with units. More...
 
static void BuildSliderRanged (string propertyName, string propertyDescription, SerializedProperty minSliderValue, SerializedProperty maxSliderValue, string units, float minLimitValue, float maxLimitValue, SerializedProperty enumLocker, params int[] enumValues)
 Builds a margin between two float values within an slider with units and locking. More...
 
static void BuildDouble (string propertyName, string propertyDescription, SerializedProperty property)
 Double value builder. More...
 
static void BuildDouble (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Double value builder with locking. More...
 
static void BuildDouble (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Double value builder with units. More...
 
static void BuildDouble (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Double value builder with units and locking. More...
 
static void BuildDoublePositive (string propertyName, string propertyDescription, SerializedProperty property)
 Positive double value builder. More...
 
static void BuildDoublePositive (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Positive double value builder with locking. More...
 
static void BuildDoublePositive (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Positive double value builder with units. More...
 
static void BuildDoublePositive (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Positive double value builder with units and locking. More...
 
static void BuildDoubleNegative (string propertyName, string propertyDescription, SerializedProperty property)
 Negative double value builder. More...
 
static void BuildDoubleNegative (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Negative double value builder with locking. More...
 
static void BuildDoubleNegative (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Negative double value builder with units. More...
 
static void BuildDoubleNegative (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Negative double value builder with units and locking. More...
 
static void BuildDoubleCeil (string propertyName, string propertyDescription, SerializedProperty property)
 Double value builder representing the smallest integer that is greater than or equal to the specified value. More...
 
static void BuildDoubleCeil (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Double value builder with locking representing the smallest integer that is greater than or equal to the specified value. More...
 
static void BuildDoubleCeil (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Double value builder with units representing the smallest integer that is greater than or equal to the specified value. More...
 
static void BuildDoubleCeil (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Double value builder with units and locking representing the smallest integer that is greater than or equal to the specified value. More...
 
static void BuildDoubleFloor (string propertyName, string propertyDescription, SerializedProperty property)
 Double value builder representing the largest integer that is less than or equal to the specified value. More...
 
static void BuildDoubleFloor (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Double value builder with locking representing the largest integer that is less than or equal to the specified value. More...
 
static void BuildDoubleFloor (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Double value builder with units representing the largest integer that is less than or equal to the specified value. More...
 
static void BuildDoubleFloor (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Double value builder with units and locking representing the largest integer that is less than or equal to the specified value. More...
 
static void BuildDoubleRounded (string propertyName, string propertyDescription, SerializedProperty property)
 Double value builder representing the nearest integer or to the specified value. More...
 
static void BuildDoubleRounded (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Double value builder with locking representing the nearest integer or to the specified value. More...
 
static void BuildDoubleRounded (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Double value builder with units representing the nearest integer or to the specified value. More...
 
static void BuildDoubleRounded (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Double value builder with units and locking representing the nearest integer or to the specified value. More...
 
static void BuildLong (string propertyName, string propertyDescription, SerializedProperty property)
 Long value builder. More...
 
static void BuildLong (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Long value builder with locking. More...
 
static void BuildLong (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Long value builder with units. More...
 
static void BuildLong (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Long value builder with locking and units. More...
 
static void BuildLongPositive (string propertyName, string propertyDescription, SerializedProperty property)
 Positive long value builder. More...
 
static void BuildLongPositive (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Positive long value builder with locking. More...
 
static void BuildLongPositive (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Positive long value builder with units. More...
 
static void BuildLongPositive (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Positive long value builder with units and locking. More...
 
static void BuildLongNegative (string propertyName, string propertyDescription, SerializedProperty property)
 Negative long value builder. More...
 
static void BuildLongNegative (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Negative long value builder with locking. More...
 
static void BuildLongNegative (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Negative long value builder with units. More...
 
static void BuildLongNegative (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Negative long value builder with units and locking.. More...
 
static void BuildBoolean (string propertyName, string propertyDescription, SerializedProperty property)
 Boolean value builder. More...
 
static void BuildBoolean (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Boolean value builder with locking. More...
 
static void BuildVector2 (string propertyName, string propertyDescription, SerializedProperty property)
 Vector2 structure builder. More...
 
static void BuildVector2 (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Vector2 structure builder with locking. More...
 
static void BuildVector2 (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Vector2 structure builder with units. More...
 
static void BuildVector2 (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Vector2 structure builder with units and locking. More...
 
static void BuildVector2Positive (string label, string toolTip, SerializedProperty property)
 Positive Vector2 structure builder. More...
 
static void BuildVector2Positive (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Positive Vector2 structure builder with locking. More...
 
static void BuildVector2Positive (string label, string toolTip, SerializedProperty property, string units)
 Positive Vector2 structure builder with units. More...
 
static void BuildVector2Positive (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Positive Vector2 structure builder with units and locking. More...
 
static void BuildVector2Negative (string label, string toolTip, SerializedProperty property)
 Negative Vector2 structure builder. More...
 
static void BuildVector2Negative (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Negative Vector2 structure builder with locking. More...
 
static void BuildVector2Negative (string label, string toolTip, SerializedProperty property, string units)
 Negative Vector2 structure builder with units. More...
 
static void BuildVector2Negative (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Negative Vector2 structure builder with units and locking. More...
 
static void BuildVector3 (string propertyName, string propertyDescription, SerializedProperty property)
 Vector3 structure builder. More...
 
static void BuildVector3 (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Vector3 structure builder with locking. More...
 
static void BuildVector3 (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Vector3 structure builder with units. More...
 
static void BuildVector3 (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Vector3 structure builder with units and locking. More...
 
static void BuildVector3Positive (string propertyName, string propertyDescription, SerializedProperty property)
 Positive Vector3 structure builder. More...
 
static void BuildVector3Positive (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Positive Vector3 structure builder with locking. More...
 
static void BuildVector3Positive (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Positive Vector3 structure builder with units. More...
 
static void BuildVector3Positive (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Positive Vector3 structure builder with units and locking. More...
 
static void BuildVector3Negative (string propertyName, string propertyDescription, SerializedProperty property)
 Negative Vector3 structure builder. More...
 
static void BuildVector3Negative (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Negative Vector3 structure builder with locking. More...
 
static void BuildVector3Negative (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Negative Vector3 structure builder with units. More...
 
static void BuildVector3Negative (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Negative Vector3 structure builder with units and locking. More...
 
static void BuildVector4 (string propertyName, string propertyDescription, SerializedProperty property)
 Vector4 structure builder. More...
 
static void BuildVector4 (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Vector4 structure builder with locking. More...
 
static void BuildVector4 (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Vector4 structure builder with units. More...
 
static void BuildVector4 (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Vector4 structure builder with units and locking. More...
 
static void BuildVector4Positive (string propertyName, string propertyDescription, SerializedProperty property)
 Positive Vector4 structure builder. More...
 
static void BuildVector4Positive (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Positive Vector4 structure builder with locking. More...
 
static void BuildVector4Positive (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Positive Vector4 structure builder with units. More...
 
static void BuildVector4Positive (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Positive Vector4 structure builder with units and locking. More...
 
static void BuildVector4Negative (string propertyName, string propertyDescription, SerializedProperty property)
 Negative Vector4 structure builder. More...
 
static void BuildVector4Negative (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Negative Vector4 structure builder with locking. More...
 
static void BuildVector4Negative (string propertyName, string propertyDescription, SerializedProperty property, string units)
 Negative Vector4 structure builder with units. More...
 
static void BuildVector4Negative (string propertyName, string propertyDescription, SerializedProperty property, string units, SerializedProperty enumLocker, params int[] enumValues)
 Negative Vector4 structure builder with units and locking. More...
 
static void BuildColor (string propertyName, string propertyDescription, SerializedProperty property)
 Color structure builder. More...
 
static void BuildColor (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Color structure builder with locking. More...
 
static void BuildEnum (string propertyName, string propertyDescription, SerializedProperty property)
 Enumeration builder. More...
 
static void BuildEnum (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Enumeration builder with locking. More...
 
static void BuildText (string propertyName, string propertyDescription, SerializedProperty property)
 Text builder. More...
 
static void BuildText (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Text builder with locking. More...
 
static void BuildRect (string propertyName, string propertyDescription, SerializedProperty property)
 Rect structure builder. More...
 
static void BuildRect (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Rect structure builder with locking. More...
 
static void BuildAnimationCurve (string propertyName, string propertyDescription, SerializedProperty property)
 Animation Curve builder. More...
 
static void BuildAnimationCurve (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Animation Curve builder with locking. More...
 
static void BuildObject< T > (string propertyName, string propertyDescription, SerializedProperty property)
 Object builder. More...
 
static void BuildObject< T > (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Object builder with locking. More...
 
static bool BuildContentFoldOut (string propertyName, string propertyDescription, SerializedProperty property)
 Fold Out builder. More...
 
static bool BuildContentFoldOut (string propertyName, string propertyDescription, SerializedProperty property, SerializedProperty enumLocker, params int[] enumValues)
 Fold Out builder with locking. More...
 
static int BuildListButtons (SerializedProperty property, int newListSize)
 Update, Add and Remove list buttons builder. More...
 
static int BuildListButtons (SerializedProperty property, int newListSize, SerializedProperty enumLocker, params int[] enumValues)
 Update, Add and Remove list buttons builder with locking. More...
 
static ReorderableList BuildListValue (SerializedProperty property, ReorderableList list, string listName)
 Value Reorderable List builder. More...
 
static ReorderableList BuildListValue (SerializedProperty property, ReorderableList list, string listName, SerializedProperty enumLocker, params int[] enumValues)
 Value Reorderable List builder with locking. More...
 
static ReorderableList BuildListCustom (SerializedProperty property, ReorderableList list, string listName, bool vertical, int[] propertySpace, params string[] properties)
 Custom Class Reorderable List builder. More...
 
static ReorderableList BuildListCustom (SerializedProperty property, ReorderableList list, string listName, bool vertical, SerializedProperty enumLocker, int[] enumValues, int[] propertySpace, params string[] properties)
 Custom Class Reorderable List builder with locking. More...
 

Static Public Attributes

static List< CGFComponentBackupbackupList = new List<CGFComponentBackup>()
 Available Backup structures. More...
 

Static Private Member Functions

static void Add (int index, SerializedProperty property)
 Utility button to clone the selected element in the ReorderableList. More...
 
static void Delete (int index, SerializedProperty property)
 Utility button to remove the selected element in the ReorderableList More...
 

Static Private Attributes

static GUIContent addButton = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_addelementlist_normal_personal.png", typeof(Texture2D)))
 Normal status texture for the Add button in the Reorderable List. Unity Personal Edition. More...
 
static GUIContent addPressedButton = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_addelementlist_pressed_personal.png", typeof(Texture2D)))
 Pressed status texture for the Add button in the Reorderable List. Unity Personal Edition. More...
 
static GUIContent addButtonProfessional = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_addelementlist_normal_professional.png", typeof(Texture2D)))
 Normal status texture for the Add button in the Reorderable List. Unity Professional Edition. More...
 
static GUIContent addPressedButtonProfessional = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_addelementlist_pressed_professional.png", typeof(Texture2D)))
 Pressed status texture for the Add button in the Reorderable List. Unity Professional Edition. More...
 
static GUIContent deleteButton = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_removeelementlist_normal_personal.png", typeof(Texture2D)))
 Normal status texture for the Delete button in the Reorderable List. Unity Personal Edition. More...
 
static GUIContent deletePressedButton = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_removeelementlist_pressed_personal.png", typeof(Texture2D)))
 Pressed status texture for the Delete button in the Reorderable List. Unity Personal Edition. More...
 
static GUIContent deleteButtonProfessional = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_removeelementlist_normal_professional.png", typeof(Texture2D)))
 Normal status texture for the Delete button in the Reorderable List. Unity Professional Edition. More...
 
static GUIContent deletePressedButtonProfessional = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_removeelementlist_pressed_professional.png", typeof(Texture2D)))
 Pressed status texture for the Delete button in the Reorderable List. Unity Professional Edition. More...
 
static string copiedComponent
 Copied Component. More...
 
static bool isPro = EditorGUIUtility.isProSkin
 Unity Editor Skin. More...
 
static int backupPopup
 Backup List index. More...
 
static bool showFoldOut = new bool()
 
static bool showBlockedFoldOut = new bool()
 

Detailed Description

Utility and functionality set for the Unity inspector.

Member Function Documentation

static void Assets.CGF.Editor.CGFEditorUtilities.Add ( int  index,
SerializedProperty  property 
)
staticprivate

Utility button to clone the selected element in the ReorderableList.

Parameters
indexElement position in the Reorderable List.
propertyProperty that contains the element.
static void Assets.CGF.Editor.CGFEditorUtilities.BackUpComponentValues< T > ( SerializedObject  serializedObject)
static

Component Backup manager.

Template Parameters
TComponent type.
Parameters
serializedObjectGameObject to which it is attached.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildAnimationCurve ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Animation Curve builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildAnimationCurve ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Animation Curve builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildBoolean ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Boolean value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildBoolean ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Boolean value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildColor ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Color structure builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildColor ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Color structure builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildComponentTools ( string  documentationURL,
SerializedObject  serializedObject 
)
static

Documentation link and Component deleter tools builder.

Parameters
documentationURLDocumentation URL.
serializedObjectGameObject to which it is attached.
static bool Assets.CGF.Editor.CGFEditorUtilities.BuildContentFoldOut ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Fold Out builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
Returns
Fold out status.
static bool Assets.CGF.Editor.CGFEditorUtilities.BuildContentFoldOut ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Fold Out builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
Returns
Fold Out status.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDouble ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Double value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDouble ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Double value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDouble ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Double value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDouble ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Double value builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleCeil ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Double value builder representing the smallest integer that is greater than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleCeil ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Double value builder with locking representing the smallest integer that is greater than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleCeil ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Double value builder with units representing the smallest integer that is greater than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleCeil ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Double value builder with units and locking representing the smallest integer that is greater than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleFloor ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Double value builder representing the largest integer that is less than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleFloor ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Double value builder with locking representing the largest integer that is less than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleFloor ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Double value builder with units representing the largest integer that is less than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleFloor ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Double value builder with units and locking representing the largest integer that is less than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Negative double value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative double value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Negative double value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative double value builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoublePositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Positive double value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoublePositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive double value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoublePositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Positive double value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoublePositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive double value builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleRounded ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Double value builder representing the nearest integer or to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleRounded ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Double value builder with locking representing the nearest integer or to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleRounded ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Double value builder with units representing the nearest integer or to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildDoubleRounded ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Double value builder with units and locking representing the nearest integer or to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildEnum ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Enumeration builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildEnum ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Enumeration builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloat ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Float value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloat ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Float value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloat ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Float value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloat ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Float value builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatCeil ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Float value builder representing the smallest integer that is greater than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatCeil ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Float value builder with locking representing the smallest integer that is greater than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatCeil ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Float value builder with units representing the smallest integer that is greater than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatCeil ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Float value builder with units and locking representing the smallest integer that is greater than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatFloor ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Float value builder representing the largest integer that is less than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatFloor ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Float value builder with locking representing the largest integer that is less than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatFloor ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Float value builder with units representing the largest integer that is less than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatFloor ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Float value builder with units and locking representing the largest integer that is less than or equal to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Negative float value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative float value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Negative float value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative float value builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Positive float value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive float value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Positive float value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive float value builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatRounded ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Float value builder representing the nearest integer or to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatRounded ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Float value builder with locking representing the nearest integer or to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatRounded ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Float value builder with units representing the nearest integer or to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatRounded ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Float value builder with units and locking representing the nearest integer or to the specified value.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatSlider ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
float  minSliderValue,
float  maxSliderValue 
)
static

Float value builder within a slider.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
minSliderValueSlider minimum value.
maxSliderValueSlider maximum value.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatSlider ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
float  minSliderValue,
float  maxSliderValue,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Float value builder with locking within a slider.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
minSliderValueValor mínimo del de la barra de valores.
maxSliderValueValor máximo del de la barra de valores.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatSlider ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
float  minSliderValue,
float  maxSliderValue 
)
static

Float value builder with units within a slider.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
minSliderValueValor mínimo del de la barra de valores.
maxSliderValueValor máximo del de la barra de valores.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildFloatSlider ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
float  minSliderValue,
float  maxSliderValue,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Float value builder with units and loking within a slider

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
minSliderValueValor mínimo del de la barra de valores.
maxSliderValueValor máximo del de la barra de valores.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static GUIContent Assets.CGF.Editor.CGFEditorUtilities.BuildGUIContent ( string  name,
string  description 
)
static

Parameter name and description.

Parameters
nameParameter name.
descriptionParameter description.

<return> GUIContent</return>

static void Assets.CGF.Editor.CGFEditorUtilities.BuildInt ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Integer value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildInt ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Integer value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildInt ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Integer value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildInt ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Integer value builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Negative integer value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative integer value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Negative integer value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative integer value builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Positive integer value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive integer value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Positive integer value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive integer value builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntSlider ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
int  minSliderValue,
int  maxSliderValue 
)
static

Integer value builder within a slider.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
maxSliderValueSlider maximum value.
minSliderValueSlider minimum value.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntSlider ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
int  minSliderValue,
int  maxSliderValue,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Integer value builder within a slider with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
minSliderValueSlider maximum value.
maxSliderValueSlider minimum value.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntSlider ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
int  minSliderValue,
int  maxSliderValue 
)
static

Integer value builder within a slider with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
minSliderValueSlider maximum value.
maxSliderValueSlider minimum value.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildIntSlider ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
int  minSliderValue,
int  maxSliderValue,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Integer value builder within a slider with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
minSliderValueSlider maximum value.
maxSliderValueSlider minimum value.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLayerList ( string  propertyName,
SerializedProperty  property 
)
static

Enumeration of the available layers in the project Tags&Layers.

Parameters
propertyNameLayer eumeration name.
propertyInt layer representation property to modify.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLayerList ( string  propertyName,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Enumeration of the available layers in the project Tags&Layers with locking.

Parameters
propertyNameLayer eumeration name.
propertyInt layer representation property to modify.
enumLocker
enumValues
static int Assets.CGF.Editor.CGFEditorUtilities.BuildListButtons ( SerializedProperty  property,
int  newListSize 
)
static

Update, Add and Remove list buttons builder.

Parameters
propertyPorperty to build.
newListSizeNew list size.
Returns
New list size.
static int Assets.CGF.Editor.CGFEditorUtilities.BuildListButtons ( SerializedProperty  property,
int  newListSize,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Update, Add and Remove list buttons builder with locking.

Parameters
propertyProperty to build.
newListSizeNew list size.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
Returns
New list size.
static ReorderableList Assets.CGF.Editor.CGFEditorUtilities.BuildListCustom ( SerializedProperty  property,
ReorderableList  list,
string  listName,
bool  vertical,
int[]  propertySpace,
params string[]  properties 
)
static

Custom Class Reorderable List builder.

Parameters
propertyProperty to build.
listReorderable List to build.
listNameList name.
verticalHow to show subproperties.
propertySpaceSpace for each Custom Class property.
propertiesCustom Class property.
Returns
Updated Reorderable List.
static ReorderableList Assets.CGF.Editor.CGFEditorUtilities.BuildListCustom ( SerializedProperty  property,
ReorderableList  list,
string  listName,
bool  vertical,
SerializedProperty  enumLocker,
int[]  enumValues,
int[]  propertySpace,
params string[]  properties 
)
static

Custom Class Reorderable List builder with locking.

Parameters
propertyProperty to build.
listReorderable List to build.
listNameList name.
verticalHow to show subproperties.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
propertySpaceSpace for each Custom Class property.
propertiesCustom Class property.
Returns
Updated Reorderable List.
static ReorderableList Assets.CGF.Editor.CGFEditorUtilities.BuildListValue ( SerializedProperty  property,
ReorderableList  list,
string  listName 
)
static

Value Reorderable List builder.

Parameters
propertyProperty to build.
listReorderable List to build.
listNameList name.
Returns
Updated Reorderable List.
static ReorderableList Assets.CGF.Editor.CGFEditorUtilities.BuildListValue ( SerializedProperty  property,
ReorderableList  list,
string  listName,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Value Reorderable List builder with locking.

Parameters
propertyProperty to build.
listReorderable List to build.
listNameList name.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
Returns
Updated Reorderable List.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLong ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Long value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLong ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Long value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLong ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Long value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.

Constructor de un valor long con opción a bloqueo.

static void Assets.CGF.Editor.CGFEditorUtilities.BuildLong ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Long value builder with locking and units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLongNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Negative long value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLongNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative long value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLongNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Negative long value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLongNegative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative long value builder with units and locking..

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLongPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Positive long value builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLongPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive long value builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLongPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Positive long value builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildLongPositive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive long value builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty tooltip.
propertyPorperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildObject< T > ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Object builder.

Template Parameters
TObject Type.
Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildObject< T > ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Object builder with locking.

Template Parameters
TObject Type
Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildRect ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Rect structure builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildRect ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Rect structure builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildRequiredComponents ( params Type[]  components)
static

List of components required from the target Script to work correctly.

Parameters
componentsNecessary components.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildSceneList ( string  enumerationName,
SerializedProperty  property 
)
static

Enumeration of the available scenes in the project BuildSettings.

Parameters
enumerationNameName of the scene enumaration.
propertyString scene representation property to modify.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildSceneList ( string  enumerationName,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Enumeration of the available scenes in the project BuildSettings with locking.

Parameters
enumerationNameName of the scene enumaration.
propertyString scene representation property to modify.
enumLockerEnumeration property that can lock.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildSliderRanged ( string  propertyName,
string  propertyDescription,
SerializedProperty  minSliderValue,
SerializedProperty  maxSliderValue,
float  minLimitValue,
float  maxLimitValue 
)
static

Builds a margin between two float values within an slider.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
minSliderValueSlider minimum value.
maxSliderValueSlider maximum value.
minLimitValueMargin minimum value.
maxLimitValueMargin maximum value.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildSliderRanged ( string  propertyName,
string  propertyDescription,
SerializedProperty  minSliderValue,
SerializedProperty  maxSliderValue,
float  minLimitValue,
float  maxLimitValue,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Builds a margin between two float values within an slider with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
minSliderValueSlider minimum value.
maxSliderValueSlider maximum value.
minLimitValueMargin minimum value.
maxLimitValueMargin maximum value.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildSliderRanged ( string  propertyName,
string  propertyDescription,
SerializedProperty  minSliderValue,
SerializedProperty  maxSliderValue,
string  units,
float  minLimitValue,
float  maxLimitValue 
)
static

Builds a margin between two float values within an slider with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
minSliderValueSlider minimum value.
maxSliderValueSlider maximum value.
unitsProperty units.
minLimitValueMargin minimum value.
maxLimitValueMargin maximum value.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildSliderRanged ( string  propertyName,
string  propertyDescription,
SerializedProperty  minSliderValue,
SerializedProperty  maxSliderValue,
string  units,
float  minLimitValue,
float  maxLimitValue,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Builds a margin between two float values within an slider with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
minSliderValueSlider minimum value.
maxSliderValueSlider maximum value.
unitsProperty units.
minLimitValueMargin minimum value.
maxLimitValueMargin maximum value.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildSortingLayers ( string  enumerationName,
SerializedProperty  property 
)
static

Enumeration of the available Sorting Layers in the project Tags&Layers.

Parameters
enumerationNameSorting Layers eumeration name.
propertyInt Sorting Layer representation property to modify.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildSortingLayers ( string  enumerationName,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Enumeration of the available Sorting Layers in the project Tags&Layers with locking.

Parameters
enumerationNameSorting Layers eumeration name.
propertyInt Sorting Layer representation property to modify.
enumLocker
enumValues
static void Assets.CGF.Editor.CGFEditorUtilities.BuildTagList ( string  propertyName,
SerializedProperty  property 
)
static

Enumeration of the available tags in the project Tags&Layers.

Parameters
enumerationNameTag eumeration name.
propertyString tag representation property to modify.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildTagList ( string  propertyName,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Enumeration of the available tags in the project Tags&Layers with locking.

Parameters
enumerationNameTag eumeration name.
propertyString tag representation property to modify.
enumLocker
enumValues
static void Assets.CGF.Editor.CGFEditorUtilities.BuildText ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Text builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildText ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Text builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Vector2 structure builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Vector2 structure builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Vector2 structure builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Vector2 structure builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2Negative ( string  label,
string  toolTip,
SerializedProperty  property 
)
static

Negative Vector2 structure builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2Negative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative Vector2 structure builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2Negative ( string  label,
string  toolTip,
SerializedProperty  property,
string  units 
)
static

Negative Vector2 structure builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2Negative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative Vector2 structure builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2Positive ( string  label,
string  toolTip,
SerializedProperty  property 
)
static

Positive Vector2 structure builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2Positive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive Vector2 structure builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2Positive ( string  label,
string  toolTip,
SerializedProperty  property,
string  units 
)
static

Positive Vector2 structure builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector2Positive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive Vector2 structure builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Vector3 structure builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Vector3 structure builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Vector3 structure builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Vector3 structure builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3Negative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Negative Vector3 structure builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3Negative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative Vector3 structure builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3Negative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Negative Vector3 structure builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3Negative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative Vector3 structure builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3Positive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Positive Vector3 structure builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3Positive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive Vector3 structure builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3Positive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Positive Vector3 structure builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector3Positive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive Vector3 structure builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Vector4 structure builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Vector4 structure builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Vector4 structure builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4 ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Vector4 structure builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4Negative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Negative Vector4 structure builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4Negative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative Vector4 structure builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4Negative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Negative Vector4 structure builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4Negative ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Negative Vector4 structure builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4Positive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property 
)
static

Positive Vector4 structure builder.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4Positive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive Vector4 structure builder with locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4Positive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units 
)
static

Positive Vector4 structure builder with units.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
static void Assets.CGF.Editor.CGFEditorUtilities.BuildVector4Positive ( string  propertyName,
string  propertyDescription,
SerializedProperty  property,
string  units,
SerializedProperty  enumLocker,
params int[]  enumValues 
)
static

Positive Vector4 structure builder with units and locking.

Parameters
propertyNameProperty name.
propertyDescriptionProperty description-
propertyProperty to build.
unitsProperty units.
enumLockerEnumeration that locks the property.
enumValuesValues to unlock the property.
static void Assets.CGF.Editor.CGFEditorUtilities.Delete ( int  index,
SerializedProperty  property 
)
staticprivate

Utility button to remove the selected element in the ReorderableList

Parameters
indexElement position in the Reorderable List.
propertyProperty that contains the element.
static void Assets.CGF.Editor.CGFEditorUtilities.LoadBackUpList ( )
static

Load the Backup list information from an external file.

static void Assets.CGF.Editor.CGFEditorUtilities.ManageComponentValues< T > ( )
static

Component data manager.

Template Parameters
TComponent Type.
Type Constraints
T :Component 
static void Assets.CGF.Editor.CGFEditorUtilities.SaveBackUpList ( )
static

Save the Backup list information to an external file.

Member Data Documentation

GUIContent Assets.CGF.Editor.CGFEditorUtilities.addButton = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_addelementlist_normal_personal.png", typeof(Texture2D)))
staticprivate

Normal status texture for the Add button in the Reorderable List. Unity Personal Edition.

GUIContent Assets.CGF.Editor.CGFEditorUtilities.addButtonProfessional = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_addelementlist_normal_professional.png", typeof(Texture2D)))
staticprivate

Normal status texture for the Add button in the Reorderable List. Unity Professional Edition.

GUIContent Assets.CGF.Editor.CGFEditorUtilities.addPressedButton = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_addelementlist_pressed_personal.png", typeof(Texture2D)))
staticprivate

Pressed status texture for the Add button in the Reorderable List. Unity Personal Edition.

GUIContent Assets.CGF.Editor.CGFEditorUtilities.addPressedButtonProfessional = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_addelementlist_pressed_professional.png", typeof(Texture2D)))
staticprivate

Pressed status texture for the Add button in the Reorderable List. Unity Professional Edition.

List<CGFComponentBackup> Assets.CGF.Editor.CGFEditorUtilities.backupList = new List<CGFComponentBackup>()
static

Available Backup structures.

int Assets.CGF.Editor.CGFEditorUtilities.backupPopup
staticprivate

Backup List index.

string Assets.CGF.Editor.CGFEditorUtilities.copiedComponent
staticprivate

Copied Component.

GUIContent Assets.CGF.Editor.CGFEditorUtilities.deleteButton = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_removeelementlist_normal_personal.png", typeof(Texture2D)))
staticprivate

Normal status texture for the Delete button in the Reorderable List. Unity Personal Edition.

GUIContent Assets.CGF.Editor.CGFEditorUtilities.deleteButtonProfessional = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_removeelementlist_normal_professional.png", typeof(Texture2D)))
staticprivate

Normal status texture for the Delete button in the Reorderable List. Unity Professional Edition.

GUIContent Assets.CGF.Editor.CGFEditorUtilities.deletePressedButton = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_removeelementlist_pressed_personal.png", typeof(Texture2D)))
staticprivate

Pressed status texture for the Delete button in the Reorderable List. Unity Personal Edition.

GUIContent Assets.CGF.Editor.CGFEditorUtilities.deletePressedButtonProfessional = new GUIContent((Texture2D)AssetDatabase.LoadAssetAtPath("Assets/CGF/Editor default resources/Global/button_removeelementlist_pressed_professional.png", typeof(Texture2D)))
staticprivate

Pressed status texture for the Delete button in the Reorderable List. Unity Professional Edition.

bool Assets.CGF.Editor.CGFEditorUtilities.isPro = EditorGUIUtility.isProSkin
staticprivate

Unity Editor Skin.

bool Assets.CGF.Editor.CGFEditorUtilities.showBlockedFoldOut = new bool()
staticprivate
bool Assets.CGF.Editor.CGFEditorUtilities.showFoldOut = new bool()
staticprivate

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