예제 #1
0
    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;
    }
예제 #2
0
 public GunData GetCurrentGunData()
 {
     return(Guns.Find(x => x.Name == CurrentGunName));
 }