![]() |
BomberUnits
...a Unity learning project
|
Holds one of the character models players can choose. More...
Collaboration diagram for PlayerFigurePrefab:Public Member Functions | |
| PlayerFigurePrefab (GameObject prefab) | |
| void | Register () |
| Sprite | GetSprite () |
Static Public Member Functions | |
| static implicit | operator GameObject (PlayerFigurePrefab pf) |
| static PlayerFigurePrefab | FromKey (int dictKey) |
| static IEnumerable< PlayerFigurePrefab > | GetAll () |
| static PlayerFigurePrefab | GetDefault () |
Public Attributes | |
| GameObject | prefab |
Properties | |
| int | dictKey [get, private set] |
Static Private Attributes | |
| static Dictionary< int, PlayerFigurePrefab > | instances = new Dictionary<int, PlayerFigurePrefab>() |
Holds one of the character models players can choose.
Definition at line 8 of file PlayerFigurePrefab.cs.