C# Class TurretSelectionMenu, Corsair

Inheritance: MonoBehaviour
Afficher le fichier Open project: Final-Parsec/Corsair Class Usage Examples

Méthodes publiques

Свойство Type Description
buttonPadding Vector2
layoutdimensions Vector2
turretSelectionPrefab GameObject
turretSprites Sprite>.IDictionary

Méthodes publiques

Méthode Description
Start ( ) : void

Runs when the TurretSelectionMenu is created. Populates the panel with turret buttons.

Method Details

Start() public méthode

Runs when the TurretSelectionMenu is created. Populates the panel with turret buttons.
public Start ( ) : void
Résultat void

Property Details

buttonPadding public_oe property

The space between Buttons. The Button size is calculated using this number.
Put a zero (0) value to ignore this axis and use a calculated padding value. Must have a value.
public Vector2 buttonPadding
Résultat Vector2

layoutdimensions public_oe property

The layout of the Buttons. ex: 2x4, 1x8
public Vector2 layoutdimensions
Résultat Vector2

turretSelectionPrefab public_oe property

The Button prefab to use in the panel.
Must have a RectTransform attatched.
public GameObject turretSelectionPrefab
Résultat GameObject

turretSprites public_oe property

public IDictionary turretSprites
Résultat Sprite>.IDictionary