C# 클래스 FluffyManager.History

상속: IExposable
파일 보기 프로젝트 열기: FluffierThanThou/RW_Manager 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AllowTogglingLegend bool
DefaultLineColor Color
DrawCounts bool
DrawIcons bool
DrawInfoInBar bool
DrawInlineLegend bool
DrawMaxMarkers bool
DrawOptions bool
DrawTargetLine bool
MaxPerChapter bool
Suffix string
periodShown Period
periods Period[]

공개 메소드들

메소드 설명
CeilToPrecision ( float x, int precision = 1 ) : int

Round up to given precision

DrawDetailedLegend ( Rect canvas, Vector2 &scrollPos, int max, bool positiveOnly = false, bool negativeOnly = false ) : void
DrawPlot ( Rect rect, int target, string label = "", bool positiveOnly = false, bool negativeOnly = false ) : void
ExposeData ( ) : void
FormatCount ( float x, int unit = 1000, string suffixes = null ) : string
History ( ) : System
History ( ThingCount thingCounts, Color colors = null ) : System
History ( string labels, Color colors = null ) : System
Interval ( Period period ) : int
Update ( ) : void
UpdateMax ( ) : void
UpdateThingCountAndMax ( int counts, int maxes ) : void
UpdateThingCounts ( ) : void

메소드 상세

CeilToPrecision() 공개 메소드

Round up to given precision
public CeilToPrecision ( float x, int precision = 1 ) : int
x float input
precision int number of digits to preserve past the magnitude, should be equal to or greater than zero.
리턴 int

DrawDetailedLegend() 공개 메소드

public DrawDetailedLegend ( Rect canvas, Vector2 &scrollPos, int max, bool positiveOnly = false, bool negativeOnly = false ) : void
canvas UnityEngine.Rect
scrollPos Vector2
max int
positiveOnly bool
negativeOnly bool
리턴 void

DrawPlot() 공개 메소드

public DrawPlot ( Rect rect, int target, string label = "", bool positiveOnly = false, bool negativeOnly = false ) : void
rect UnityEngine.Rect
target int
label string
positiveOnly bool
negativeOnly bool
리턴 void

ExposeData() 공개 메소드

public ExposeData ( ) : void
리턴 void

FormatCount() 공개 메소드

public FormatCount ( float x, int unit = 1000, string suffixes = null ) : string
x float
unit int
suffixes string
리턴 string

History() 공개 메소드

public History ( ) : System
리턴 System

History() 공개 메소드

public History ( ThingCount thingCounts, Color colors = null ) : System
thingCounts ThingCount
colors Color
리턴 System

History() 공개 메소드

public History ( string labels, Color colors = null ) : System
labels string
colors Color
리턴 System

Interval() 공개 정적인 메소드

public static Interval ( Period period ) : int
period Period
리턴 int

Update() 공개 메소드

public Update ( ) : void
리턴 void

UpdateMax() 공개 메소드

public UpdateMax ( ) : void
리턴 void

UpdateThingCountAndMax() 공개 메소드

public UpdateThingCountAndMax ( int counts, int maxes ) : void
counts int
maxes int
리턴 void

UpdateThingCounts() 공개 메소드

public UpdateThingCounts ( ) : void
리턴 void

프로퍼티 상세

AllowTogglingLegend 공개적으로 프로퍼티

public bool AllowTogglingLegend
리턴 bool

DefaultLineColor 공개적으로 정적으로 프로퍼티

public static Color DefaultLineColor
리턴 Color

DrawCounts 공개적으로 프로퍼티

public bool DrawCounts
리턴 bool

DrawIcons 공개적으로 프로퍼티

public bool DrawIcons
리턴 bool

DrawInfoInBar 공개적으로 프로퍼티

public bool DrawInfoInBar
리턴 bool

DrawInlineLegend 공개적으로 프로퍼티

public bool DrawInlineLegend
리턴 bool

DrawMaxMarkers 공개적으로 프로퍼티

public bool DrawMaxMarkers
리턴 bool

DrawOptions 공개적으로 프로퍼티

public bool DrawOptions
리턴 bool

DrawTargetLine 공개적으로 프로퍼티

public bool DrawTargetLine
리턴 bool

MaxPerChapter 공개적으로 프로퍼티

public bool MaxPerChapter
리턴 bool

Suffix 공개적으로 프로퍼티

public string Suffix
리턴 string

periodShown 공개적으로 프로퍼티

public Period periodShown
리턴 Period

periods 공개적으로 정적으로 프로퍼티

public static Period[] periods
리턴 Period[]