製作地下室地圖、Raw Input 整合後續修正

This commit is contained in:
Sahik committed 2026-10-24 05:15:56 +08:00
1 parent 81d2a150c2
commit 23c311e905
191 files changed
+59056 -9911

No files matched your search

+6
View File
@@ -16,6 +16,12 @@ public class EnemyHealthBar : MonoBehaviour
private float centerX;
private float shownRatio = -1f;
void Start()
{
// prefab 存不住場景物件的參照 : 沒拖的話自動找場景裡的 BotSpawner (新地圖不用再手動接)
if (spawner == null) spawner = FindAnyObjectByType<BotSpawner>();
}
void Awake()
{
if (fill != null)