C# Class CreditsController

Inheritance: MonoBehaviour
Mostra file Open project: imann24/cs327-bestmobilegameever Class Usage Examples

Public Properties

Property Type Description
CreditGroupPrefab GameObject
CreditsFilePath string
CreditsRect Transform
CreditsScroll ScrollRect
MoveSpeed float

Public Methods

Method Description
AddCreditGroup ( CreditGroup, creditGroup ) : void
BackToOptionsMenu ( ) : void
CheckForScrollEnd ( float scrollBarValue ) : void
ClearCredits ( ) : void
GenerateCredits ( ) : CreditGroup[],
HaltMovement ( ) : void
SetCredits ( CreditGroup, CreditGroups ) : void
Start ( ) : void
init ( ) : void

Private Methods

Method Description
LerpCredtsLeft ( float waitTime = 0.75f ) : IEnumerator

Method Details

AddCreditGroup() public method

public AddCreditGroup ( CreditGroup, creditGroup ) : void
creditGroup CreditGroup,
return void

BackToOptionsMenu() public method

public BackToOptionsMenu ( ) : void
return void

CheckForScrollEnd() public method

public CheckForScrollEnd ( float scrollBarValue ) : void
scrollBarValue float
return void

ClearCredits() public method

public ClearCredits ( ) : void
return void

GenerateCredits() public method

public GenerateCredits ( ) : CreditGroup[],
return CreditGroup[],

HaltMovement() public method

public HaltMovement ( ) : void
return void

SetCredits() public method

public SetCredits ( CreditGroup, CreditGroups ) : void
CreditGroups CreditGroup,
return void

Start() public method

public Start ( ) : void
return void

init() public method

public init ( ) : void
return void

Property Details

CreditGroupPrefab public_oe property

public GameObject CreditGroupPrefab
return GameObject

CreditsFilePath public_oe property

public string CreditsFilePath
return string

CreditsRect public_oe property

public Transform CreditsRect
return Transform

CreditsScroll public_oe property

public ScrollRect CreditsScroll
return ScrollRect

MoveSpeed public_oe property

public float MoveSpeed
return float