|
@@ -82,9 +82,10 @@ public class SoulFollowEffect : MonoBehaviour
|
|
|
{
|
|
{
|
|
|
GameObject boomSoul = Instantiate(soulBoom.gameObject);
|
|
GameObject boomSoul = Instantiate(soulBoom.gameObject);
|
|
|
boomSoul.transform.position = transform.position;
|
|
boomSoul.transform.position = transform.position;
|
|
|
- boomSoul.transform.parent = parent;
|
|
|
|
|
|
|
+
|
|
|
if (isTransfiguration)
|
|
if (isTransfiguration)
|
|
|
{
|
|
{
|
|
|
|
|
+ boomSoul.transform.parent = parent;
|
|
|
Transform bomb = boomSoul.transform.GetChild(0);
|
|
Transform bomb = boomSoul.transform.GetChild(0);
|
|
|
boomSoul.transform.localScale = Vector3.one * boomScale;
|
|
boomSoul.transform.localScale = Vector3.one * boomScale;
|
|
|
for (int i = 0; i < bomb.childCount; i++)
|
|
for (int i = 0; i < bomb.childCount; i++)
|