코어, 자원, 벽, 플레이어 시작 위치 설정

Flatkit 기능 일부 활용 테스트
This commit is contained in:
2026-01-26 01:33:26 +09:00
parent cf16910a32
commit 33bd90658a
24 changed files with 1756 additions and 360 deletions

View File

@@ -0,0 +1,25 @@
using UnityEngine;
namespace Northbound
{
/// <summary>
/// 플레이어 스폰 위치를 표시하는 마커
/// </summary>
public class PlayerSpawnPoint : MonoBehaviour
{
[Header("Spawn Settings")]
public int spawnIndex = -1; // -1 = 순서대로 할당
public bool isAvailable = true;
[Header("Debug")]
public Color gizmoColor = Color.green;
public float gizmoRadius = 0.5f;
private void OnDrawGizmos()
{
Gizmos.color = isAvailable ? gizmoColor : Color.red;
Gizmos.DrawWireSphere(transform.position, gizmoRadius);
Gizmos.DrawLine(transform.position, transform.position + transform.forward * 2f);
}
}
}