[Update] 로직 변경 및 회전 문제 해결 등

1. 회전 시 펜스가 사라지거나 남았던 현상 해결
   - 펜스의 LOD가 여러개여서 필요한것만 남기고 삭제

2. 실드 ui 조정
   - 별도의 스크립트와 핸들러를 이용해 빈 오브젝트(앵커)에 소속하게 변경
   - pc에서는 화면 우측 상단으로 이동
   - 모바일에서는 버튼 안으로 이동

3. 폰트 변경
This commit is contained in:
jongjae0305
2026-04-22 13:56:03 +09:00
parent 6c84f865d8
commit ed1e24be1d
22 changed files with 14832 additions and 907 deletions
@@ -12,6 +12,8 @@ public class VirtualButton : MonoBehaviour, IPointerDownHandler, IPointerUpHandl
public UnityEvent onClick;
public PlayerController playerController;
private bool rotate = false;
void FixedUpdate()
@@ -30,6 +32,11 @@ public class VirtualButton : MonoBehaviour, IPointerDownHandler, IPointerUpHandl
rotate = true;
onClick?.Invoke();
if (playerController != null)
{
playerController.ActivateShieldLogic();
}
}
public void OnPointerUp(PointerEventData pointerEventData)