void UpdateUI() { UICharacterProperties ui = GameStats._UICharacterProperties; ui.m_textBullets.text = NBullets.ToString(); ui.m_textMagazines.text = NMagazines.ToString(); }
// Use this for initialization void Start() { m_UIProperties = GameStats._UICharacterProperties; m_hurtEffect = GameStats._GetHurtEffect; m_fpsMovement = GameStats._FPSMovement; m_audioSource = GetComponent <AudioSource> (); m_health = m_maxHealth; IsDead = false; }