projectEli/Assets/NeoFPS/Core/Weapons/MeleeWeapons/IMeleeWeapon.cs

23 lines
498 B
C#
Raw Normal View History

2022-11-07 01:28:33 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace NeoFPS
{
public interface IMeleeWeapon
{
ICharacter wielder { get; }
bool blocking { get; }
bool attacking { get; }
void PrimaryPress();
void PrimaryRelease();
void SecondaryPress();
void SecondaryRelease();
event UnityAction<bool> onAttackingChange;
event UnityAction<bool> onBlockStateChange;
}
}