C# Class StructureEventController

Inheritance: EventControllerBase
Afficher le fichier Open project: BornToGrill/Project-Frequency

Méthodes publiques

Свойство Type Description
BuildAllowedColor Color
BuildNotAllowedColor Color

Méthodes publiques

Méthode Description
CreateUnit ( string unitName ) : void
OnClicked ( GameObject ownTile, GameObject clickedTile ) : DeselectStatus
OnMouseEnter ( GameObject ownTile, GameObject hoveredTile ) : void
OnMouseLeave ( GameObject ownTile, GameObject hoveredTile ) : void
OnSelected ( GameObject ownTile ) : DeselectStatus

Method Details

CreateUnit() public méthode

public CreateUnit ( string unitName ) : void
unitName string
Résultat void

OnClicked() public méthode

public OnClicked ( GameObject ownTile, GameObject clickedTile ) : DeselectStatus
ownTile GameObject
clickedTile GameObject
Résultat DeselectStatus

OnMouseEnter() public méthode

public OnMouseEnter ( GameObject ownTile, GameObject hoveredTile ) : void
ownTile GameObject
hoveredTile GameObject
Résultat void

OnMouseLeave() public méthode

public OnMouseLeave ( GameObject ownTile, GameObject hoveredTile ) : void
ownTile GameObject
hoveredTile GameObject
Résultat void

OnSelected() public méthode

public OnSelected ( GameObject ownTile ) : DeselectStatus
ownTile GameObject
Résultat DeselectStatus

Property Details

BuildAllowedColor public_oe property

public Color BuildAllowedColor
Résultat Color

BuildNotAllowedColor public_oe property

public Color BuildNotAllowedColor
Résultat Color