Fixes demon & Giant
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user