C# Class TuxedoBerries.ScenePanel.ColorStack

Color stack. Controls the color of the GUI.
Mostrar archivo Open project: TuxedoBerries/ScenePanel

Public Methods

Method Description
ColorStack ( ) : System.Collections.Generic
Pop ( ) : void

Pop this the current color.

Push ( Color color ) : void

Push the specified color to GUI.

Reset ( ) : void

Reset the colors.

Private Methods

Method Description
ApplyCurrentColor ( ) : void

Method Details

ColorStack() public method

public ColorStack ( ) : System.Collections.Generic
return System.Collections.Generic

Pop() public method

Pop this the current color.
public Pop ( ) : void
return void

Push() public method

Push the specified color to GUI.
public Push ( Color color ) : void
color UnityEngine.Color Color.
return void

Reset() public method

Reset the colors.
public Reset ( ) : void
return void