C# Class UpdateButton, Team-6

Inheritance: MonoBehaviour
Show file Open project: RUGSoftEng/Team-6 Class Usage Examples

Public Methods

Method Description
Disable ( int correct ) : void
Enable ( ) : void
SetDisabledColor ( Color col ) : void
SetEnabledColor ( Color col ) : void
UpdateText ( string text ) : void
UpdateTextColor ( Color c ) : void

Method Details

Disable() public method

public Disable ( int correct ) : void
correct int
return void

Enable() public method

public Enable ( ) : void
return void

SetDisabledColor() public method

public SetDisabledColor ( Color col ) : void
col Color
return void

SetEnabledColor() public method

public SetEnabledColor ( Color col ) : void
col Color
return void

UpdateText() public method

public UpdateText ( string text ) : void
text string
return void

UpdateTextColor() public method

public UpdateTextColor ( Color c ) : void
c Color
return void