BomberUnits
...a Unity learning project
PlayerSlot Class Reference
+ Inheritance diagram for PlayerSlot:
+ Collaboration diagram for PlayerSlot:

Public Member Functions

void Awake ()
 
void UpdateDisplay ()
 
void Destroy (float delay=0f)
 

Static Public Member Functions

static PlayerSlot TryToGet (Player p)
 
static PlayerSlot InstantiateAndInit (GameObject prefab, Player p)
 
static void EnsureDestroyed (Player p)
 
static void UpdateFor (Player p)
 
static void ClearInstances ()
 
static int Count ()
 

Public Attributes

Image image
 
Text nameTxt
 
Text inputTxt
 
Button removeBtn
 
Button customizationBtn
 

Private Member Functions

void Init (Player p)
 Draws the connection between slot and player, lists, customizes and displays the slot.
 
void Customize ()
 

Private Attributes

Player associatedPlayer = null
 

Static Private Attributes

static Dictionary< Player, PlayerSlotslots = null
 

Detailed Description

Definition at line 11 of file PlayerSlot.cs.


The documentation for this class was generated from the following file: