|
@@ -21,7 +21,7 @@ public class SoulCollector : MonoBehaviour
|
|
|
player = GetComponentInParent<PlayerController>();
|
|
player = GetComponentInParent<PlayerController>();
|
|
|
}
|
|
}
|
|
|
soul.BeCollect(player.playerId);
|
|
soul.BeCollect(player.playerId);
|
|
|
- PoolManager.Instantiate(soul.getSoulEffect, other.bounds.ClosestPoint(transform.position));
|
|
|
|
|
|
|
+ PoolManager.Instantiate(soul.getSoulEffect, transform.position);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|