C# Class CoverFlow, Unity3dCoverFlowDemo

Inheritance: MonoBehaviour
Exibir arquivo Open project: benloong/Unity3dCoverFlowDemo Class Usage Examples

Public Properties

Property Type Description
covers Transform[]

Public Methods

Method Description
OnGUI ( ) : void
Start ( ) : void
StartAnimation ( float targetoffsetx ) : void
Update ( ) : void
UpdateAnimation ( float pos ) : void
UpdateCoverState ( ) : void

Private Methods

Method Description
CalcPosX ( float offsetx ) : float
CalcPosXInverse ( float realPosx ) : float
CalcPosZ ( float offsetx ) : float
CalcRotation ( float offsetx ) : float

Method Details

OnGUI() public method

public OnGUI ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartAnimation() public method

public StartAnimation ( float targetoffsetx ) : void
targetoffsetx float
return void

Update() public method

public Update ( ) : void
return void

UpdateAnimation() public method

public UpdateAnimation ( float pos ) : void
pos float
return void

UpdateCoverState() public method

public UpdateCoverState ( ) : void
return void

Property Details

covers public_oe property

public Transform[] covers
return Transform[]