added reload animation and feature

This commit is contained in:
Mausham
2025-12-30 16:22:49 -08:00
parent 1a61f3c506
commit 0ec69f66c9
16 changed files with 27895 additions and 26896 deletions

View File

@@ -1,4 +1,6 @@
using Darkmatter.Core;
using System;
using System.Threading.Tasks;
using UnityEngine;
using VContainer;
@@ -56,9 +58,12 @@ namespace Darkmatter.Domain
{
GunWeapon.Attack();
}
if(GunWeapon.AmmoCount==0)
{
playerAnim.PlayReloadAnim(GunWeapon);
}
}
}
}