Commit 5251e5ce authored by 18류지석's avatar 18류지석

포션도 정상적으로 방을 부모로 함

parent fe5df774
......@@ -91,7 +91,8 @@ public class LifeStoneManager : Singleton<LifeStoneManager> {
public void InstantiatePotion(Vector3 pos, float popoutStrength)
{
PopoutGenerator(Instantiate(goldPotionPrefab, pos, Quaternion.identity), popoutStrength);
PopoutGenerator(Instantiate(goldPotionPrefab, pos, Quaternion.identity,MapManager.currentRoom.roomInGame.transform), popoutStrength);
}
IEnumerator PopoutCoroutine(GameObject obj)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment