C# Class ScreenShifter, unity-game-kappakiwi

Inheritance: MonoBehaviour
Mostrar archivo Open project: clee842/unity-game-kappakiwi Class Usage Examples

Public Properties

Property Type Description
shiftDistance int

Public Methods

Method Description
ScreenShifter ( ) : UnityEngine
ShiftScreen ( float shiftAmount ) : void

Private Methods

Method Description
initBackground ( ) : void
shiftBackground ( GameObject background, BackgroundScroller, scroller ) : void

Method Details

ScreenShifter() public method

public ScreenShifter ( ) : UnityEngine
return UnityEngine

ShiftScreen() public method

public ShiftScreen ( float shiftAmount ) : void
shiftAmount float
return void

Property Details

shiftDistance public_oe property

public int shiftDistance
return int