Files

17 lines
395 B
C#
Raw Permalink Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class weaponAmmoUsingPlayerStat : MonoBehaviour
{
public playerStatsSystem mainPlayerStatsSystem;
public string statToUseName;
public float amountToUsePerShoot;
public void useWeaponAmmo ()
{
mainPlayerStatsSystem.usePlayerStat (statToUseName, amountToUsePerShoot);
}
}