started adding enemy factory
This commit is contained in:
@@ -43,6 +43,7 @@ namespace Darkmatter.Presentation
|
||||
private void PlayBulletHitEffectParticle()
|
||||
{
|
||||
var damageable = hitPoint.transform.GetComponent<IDamageable>();
|
||||
Debug.Log(hitPoint.transform);
|
||||
if (damageable != null)
|
||||
{
|
||||
damageable.TakeDamage(10f);
|
||||
|
||||
Reference in New Issue
Block a user