C# Class DigitalController, sprint_workshop

Inheritance: BaseObject
显示文件 Open project: hekk/sprint_workshop

Public Methods

Method Description
AddValue ( int val, float startTime = 0f ) : void
Attach ( Transform digitalTransform ) : DigitalController,
GetValue ( ) : int
Set ( int digitNumber, bool paddingZero = true, int defaultVal ) : void
SetValue ( int val ) : void

Private Methods

Method Description
CreateTriangles ( ) : int[]
CreateUvs ( ) : Vector2[]
CreateVertecs ( ) : Vector3[]
Start ( ) : void
Update ( ) : void

Method Details

AddValue() public method

public AddValue ( int val, float startTime = 0f ) : void
val int
startTime float
return void

Attach() public static method

public static Attach ( Transform digitalTransform ) : DigitalController,
digitalTransform Transform
return DigitalController,

GetValue() public method

public GetValue ( ) : int
return int

Set() public method

public Set ( int digitNumber, bool paddingZero = true, int defaultVal ) : void
digitNumber int
paddingZero bool
defaultVal int
return void

SetValue() public method

public SetValue ( int val ) : void
val int
return void