finally get pathfinding done?
This commit is contained in:
parent
7b151c1a53
commit
7bd61df481
23 changed files with 1408 additions and 785 deletions
15
Assets/Scripts/Weapon.cs
Normal file
15
Assets/Scripts/Weapon.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using UnityEngine;
|
||||
|
||||
public class Weapon : MonoBehaviour
|
||||
{
|
||||
public PlayerEntity thisEntity;
|
||||
public virtual void TryAttack()
|
||||
{
|
||||
AttackEffects();
|
||||
}
|
||||
|
||||
protected virtual void AttackEffects()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue