This commit is contained in:
LeeJaeHyun 2024-09-12 14:18:32 +09:00
parent a80c2af23d
commit 2c8e38ed02

View File

@ -29,7 +29,8 @@ public class RemoveBullet : MonoBehaviour
Quaternion rot = Quaternion.LookRotation(normal);
// 스파크 생성
Instantiate(sparkEffect, pos, rot);
var obj = Instantiate(sparkEffect, pos, rot);
Destroy(obj, 0.8f);
}
}