C# Class HandleBuildingGUI, Energy

Inheritance: MonoBehaviour
显示文件 Open project: JungleJinn/Energy

Public Properties

Property Type Description
hbTexture Texture
labels string[]
menuPosition Rect
powerPlantsTexture Texture
ppbTextures Texture[]
prbTextures Texture[]
sbTextures Texture[]

Public Methods

Method Description
OnGUI ( ) : void
Start ( ) : void

Private Methods

Method Description
clickedOnPowerPlants ( Rect powerPlantsPosition, float circleDiv, float cirlceStart, float radius ) : void
clickedOnStorage ( Rect storagesPosition, float circleDiv, float cirlceStart, float radius ) : void
clickedOnpollutionReducer ( Rect pollutionReducerPosition, float circleDiv, float cirlceStart, float radius ) : void
getCircelCoordinates ( float radiant, float radius ) : Vector2
overItem ( float mouseX, float mouseY, Rect position ) : bool

Method Details

OnGUI() public method

public OnGUI ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

hbTexture public_oe property

public Texture hbTexture
return Texture

labels public_oe property

public string[] labels
return string[]

menuPosition public_oe property

public Rect menuPosition
return Rect

powerPlantsTexture public_oe property

public Texture powerPlantsTexture
return Texture

ppbTextures public_oe property

public Texture[] ppbTextures
return Texture[]

prbTextures public_oe property

public Texture[] prbTextures
return Texture[]

sbTextures public_oe property

public Texture[] sbTextures
return Texture[]