void InitStatsInventary() { StatsViewer.Viewer().Add(life); StatsViewer.Viewer().Add(shield); StatsViewer.Viewer().Add(armor); inventary.Initiliaze(Player, this); }
static public StatsViewer Viewer() { if (viewer == null) { viewer = FindObjectOfType <StatsViewer>(); } return(viewer); }