C# Class Kethane.UserInterface.MapOverlay

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: Majiir/Kethane Class Usage Examples

Public Methods

Method Description
Awake ( ) : void
GetCellUnder ( CelestialBody body, Vector3 worldPosition ) : Cell
OnDestroy ( ) : void
OnGUI ( ) : void
RefreshCellColor ( Cell cell, CelestialBody body ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
MapOverlay ( ) : System
controlWindow ( int windowID ) : void
export ( ) : void
getCellColor ( Cell cell, CelestialBody body, KethaneData data ) : Color32
getDepositColor ( ResourceDefinition definition, BodyResourceData bodyResources, double deposit ) : Color32
getHeightRatioMap ( ) : float>.Func
getTargetBody ( MapObject target ) : CelestialBody
mouseWindow ( int windowId ) : void
refreshCellColors ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

GetCellUnder() public static method

public static GetCellUnder ( CelestialBody body, Vector3 worldPosition ) : Cell
body CelestialBody
worldPosition Vector3
return Cell

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

RefreshCellColor() public method

public RefreshCellColor ( Cell cell, CelestialBody body ) : void
cell Cell
body CelestialBody
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void