C# Class CompensatedRescale

Enables rescaling of an object while preventing rescaling of specified child objects
Inheritance: MonoBehaviour
ファイルを表示 Open project: leapmotion/ImageGrid

Public Properties

Property Type Description
decreaseScale KeyCode,
increaseScale KeyCode,
resetScale KeyCode,

Public Methods

Method Description
ApplyRescale ( float multiplier ) : void
DecreaseScale ( ) : void
IncreaseScale ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
ResetScale ( ) : void
Update ( ) : void

Method Details

ApplyRescale() public method

public ApplyRescale ( float multiplier ) : void
multiplier float
return void

DecreaseScale() public method

public DecreaseScale ( ) : void
return void

IncreaseScale() public method

public IncreaseScale ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

ResetScale() public method

public ResetScale ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

decreaseScale public_oe property

public KeyCode, decreaseScale
return KeyCode,

increaseScale public_oe property

public KeyCode, increaseScale
return KeyCode,

resetScale public_oe property

public KeyCode, resetScale
return KeyCode,