public void GetWeaponData(PlayerData data, int weaponIndex) { RWeaponData = data.Weapons[weaponIndex]; }
public void RefreshWeaponData() { ShopManager.Instance.RefreshWeapons(); weaponData = ShopManager.Instance.Weapons[weaponData.WeaponName]; }