public bool BuyAmmo(int p_actor) { bool check = false; if (photonView.IsMine) { if (manager.GetStat(p_actor) >= 3) { check = true; Debug.Log("veik"); manager.ChangeStat_S(p_actor, 3, 3); } } return(check); }
public bool BuyAmmo(int p_actor) { bool check = false; if (photonView.IsMine) { if (manager.GetStat(p_actor) >= 3) { check = true; Debug.Log("veik"); manager.ChangeStat_S(p_actor, 3, 3); } } return(check); }