C# Class FieldDrawer, Bad-Company-2-Map-Editor

Inheritance: UnityEditor.PropertyDrawer
Exibir arquivo Open project: Powback/Bad-Company-2-Map-Editor Class Usage Examples

Public Methods

Method Description
OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
Percent ( float pos, float pc ) : float

Method Details

OnGUI() public method

public OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
position Rect
property UnityEditor.SerializedProperty
label GUIContent
return void

Percent() public method

public Percent ( float pos, float pc ) : float
pos float
pc float
return float