C# Class Draw, LORedAlert

Inheritance: MonoBehaviour
Show file Open project: applexiaohao/LORedAlert Class Usage Examples

Public Properties

Property Type Description
greenMat Material
redMat Material

Public Methods

Method Description
AddGrids ( Grid, grids ) : string
Awake ( ) : void
OnPostRender ( ) : void
RemoveGrids ( string key ) : void
Update ( ) : void

Private Methods

Method Description
DrawGrid ( Grid, g ) : void

Method Details

AddGrids() public method

public AddGrids ( Grid, grids ) : string
grids Grid,
return string

Awake() public method

public Awake ( ) : void
return void

OnPostRender() public method

public OnPostRender ( ) : void
return void

RemoveGrids() public method

public RemoveGrids ( string key ) : void
key string
return void

Update() public method

public Update ( ) : void
return void

Property Details

greenMat public property

public Material greenMat
return Material

redMat public property

public Material redMat
return Material