|
|
@@ -22,6 +22,7 @@ public class SoulFollowEffect : MonoBehaviour
|
|
|
public bool isBoom;
|
|
|
public int boomSoulNumber;
|
|
|
public InvisibleSoulCollector soulCollector;
|
|
|
+ public float boomScale;
|
|
|
private void Awake()
|
|
|
{
|
|
|
if (!isTransfiguration)
|
|
|
@@ -83,7 +84,12 @@ public class SoulFollowEffect : MonoBehaviour
|
|
|
if (isTransfiguration)
|
|
|
{
|
|
|
boomSoul.transform.parent = transform;
|
|
|
- boomSoul.transform.GetChild(0).GetChild(2).gameObject.SetActive(false);
|
|
|
+ Transform bomb = boomSoul.transform.GetChild(0);
|
|
|
+ for (int i = 0; i < bomb.childCount; i++)
|
|
|
+ {
|
|
|
+ bomb.GetChild(i).localScale = Vector3.one * boomScale;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
boomSoul.SetActive(true);
|
|
|
@@ -155,10 +161,5 @@ public class SoulFollowEffect : MonoBehaviour
|
|
|
mainModule.startColor = new ParticleSystem.MinMaxGradient(Color.white);
|
|
|
mainModule1.startColor = new ParticleSystem.MinMaxGradient(Color.white);
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
}
|