Fixes demon & Giant

This commit is contained in:
Szymon Miś
2025-08-25 11:36:50 +02:00
parent 598888bd0f
commit 775115eefa
11 changed files with 9236 additions and 183 deletions

View File

@@ -138,12 +138,6 @@ namespace DemonBoss.Magic
spawnedShield = LeanPool.Spawn(shieldFXPrefab, spawnPosition, spawnRotation);
if (enableDebug) Debug.Log($"[SA_CastShield] Shield spawned at NPC position: {spawnPosition}");
// Parent the shield to the NPC so it moves with them
if (spawnedShield != null)
{
spawnedShield.transform.SetParent(npcTransform);
}
}
/// <summary>