C# Class GUIExt, csg-toolkit

Afficher le fichier Open project: dlannan/csg-toolkit Class Usage Examples

Méthodes publiques

Méthode Description
FloatField ( GUIContent label, float value, object callingObj ) : float

Mimics UnityEditor.EditorGUILayout.FloatField by taking a label and a float and returning the edited float.

ObjectField ( GUIContent label, GameObject value, object callingObj ) : Object
ObjectField ( GameObject value, object callingObj ) : Object
TextField ( GUIContent label, string text ) : string

Mimic's UnityEditor.EditorGUILayout.TextField in taking a label and a string and returning the edited string.

Private Methods

Méthode Description
FloatField ( float value, object callingObj ) : float

Method Details

FloatField() public static méthode

Mimics UnityEditor.EditorGUILayout.FloatField by taking a label and a float and returning the edited float.
public static FloatField ( GUIContent label, float value, object callingObj ) : float
label GUIContent
value float
callingObj object
Résultat float

ObjectField() public static méthode

public static ObjectField ( GUIContent label, GameObject value, object callingObj ) : Object
label GUIContent
value GameObject
callingObj object
Résultat Object

ObjectField() public static méthode

public static ObjectField ( GameObject value, object callingObj ) : Object
value GameObject
callingObj object
Résultat Object

TextField() public static méthode

Mimic's UnityEditor.EditorGUILayout.TextField in taking a label and a string and returning the edited string.
public static TextField ( GUIContent label, string text ) : string
label GUIContent
text string
Résultat string