Inheritance
System.Object
PercentProperty
Inherited Members
DiagnosticsProperty<Nullable<Single>>.lazy(String, ComputePropertyValueCallback<Nullable<Single>>, String, String, String, Boolean, Boolean, Object, String, Boolean, DiagnosticsTreeStyle, DiagnosticLevel)
public class PercentProperty : FloatProperty
Constructors
Declaration
public PercentProperty(string name, float fraction, string ifNull = null, bool showName = true, string tooltip = null, string unit = null, DiagnosticLevel level = DiagnosticLevel.info)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Single |
fraction |
|
System.String |
ifNull |
|
System.Boolean |
showName |
|
System.String |
tooltip |
|
System.String |
unit |
|
DiagnosticLevel |
level |
|
Methods
Declaration
protected override string numberToString()
Returns
Type |
Description |
System.String |
|
Overrides
valueToString(TextTreeConfiguration)
Declaration
protected override string valueToString(TextTreeConfiguration parentConfiguration = null)
Parameters
Returns
Type |
Description |
System.String |
|
Overrides
Unity.UIWidgets.foundation._NumProperty<System.Nullable<System.Single>>.valueToString(Unity.UIWidgets.foundation.TextTreeConfiguration)