public void UpdateWeaponIcon() { try{ weaponIcon.sprite = PlayerGlobalStatus.getPlayerWeaponByIndex(PlayerGlobalStatus.GetPlayerWeaponIndex()).GetComponent <Weapon>().getWeaponIcon(); } catch (System.Exception e) { Debug.LogWarning("PATH DOS ÍCONES NÃO ENCONTRADO...CHEQUE O PATH EM <Constantes.cs>"); Debug.LogWarning(e); } }