add ckg
plantilla base para movimiento básico
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user