public PlayerData(string name, int lookID) { Name = name; LookID = lookID; Guns = GunsManager.Instance.GetGuns(); SpecialGuns = GunsManager.Instance.GetSpecialGuns(); CurrentGunName = Guns.Find(x => x.IsBought).Name; }
public GunData GetCurrentGunData() { return(Guns.Find(x => x.Name == CurrentGunName)); }