C# Class Kethane.UserInterface.OverlayRenderer

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: Majiir/Kethane Class Usage Examples

Public Methods

Method Description
SetCellColor ( Cell cell, Color32 color ) : void
SetCellColors ( CellMap assignments ) : void
SetCellColors ( Color32>.IDictionary assignments ) : void
SetGridLevel ( int gridLevel ) : void
SetGridLevelAndHeightMap ( int gridLevel, float>.Func heightMap ) : void
SetHeightMap ( float>.Func heightMap ) : void
SetRadiusMultiplier ( float radiusMultiplier ) : void
SetTarget ( Transform target ) : void

Protected Methods

Method Description
Awake ( ) : void

Private Methods

Method Description
setCellColor ( Cell cell, Color32 color, Color32 colors ) : void
setCellColors ( Color32>.IEnumerable assignments ) : void
setUpComponents ( ) : void
updateScale ( ) : void
updateTarget ( ) : void
updateTriangles ( ) : void
updateVertices ( ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

SetCellColor() public method

public SetCellColor ( Cell cell, Color32 color ) : void
cell Cell
color UnityEngine.Color32
return void

SetCellColors() public method

public SetCellColors ( CellMap assignments ) : void
assignments CellMap
return void

SetCellColors() public method

public SetCellColors ( Color32>.IDictionary assignments ) : void
assignments Color32>.IDictionary
return void

SetGridLevel() public method

public SetGridLevel ( int gridLevel ) : void
gridLevel int
return void

SetGridLevelAndHeightMap() public method

public SetGridLevelAndHeightMap ( int gridLevel, float>.Func heightMap ) : void
gridLevel int
heightMap float>.Func
return void

SetHeightMap() public method

public SetHeightMap ( float>.Func heightMap ) : void
heightMap float>.Func
return void

SetRadiusMultiplier() public method

public SetRadiusMultiplier ( float radiusMultiplier ) : void
radiusMultiplier float
return void

SetTarget() public method

public SetTarget ( Transform target ) : void
target UnityEngine.Transform
return void