Nez.FloatInspector.initialize C# (CSharp) Méthode

initialize() public méthode

public initialize ( Table table, Skin skin ) : void
table Nez.UI.Table
skin Skin
Résultat void
		public override void initialize( Table table, Skin skin )
		{
			// if we have a RangeAttribute we need to make a slider
			var rangeAttr = getFieldOrPropertyAttribute<RangeAttribute>();
			if( rangeAttr != null )
				setupSlider( table, skin, rangeAttr.minValue, rangeAttr.maxValue, rangeAttr.stepSize );
			else
				setupTextField( table, skin );
		}