|
|
@@ -43,6 +43,7 @@ public class ESpirits_Float : MonoBehaviour
|
|
|
curLock = Instantiate(lockEffect, new Vector3(0, -50, 0), new Quaternion(0, 0, 0, 0), null);
|
|
|
curFe = Instantiate(fe, curLock.transform.position, new Quaternion(0, 0, 0, 0), null);
|
|
|
curFe.GetComponent<FloatEffect>().isEnemy = true;
|
|
|
+ curFe.GetComponent<FloatEffect>().ene = ene;
|
|
|
curFe.SetActive(false);
|
|
|
curLock.SetActive(false);
|
|
|
player1 = PlayersInput.instance[0];
|