멀티플레이어 지원

이동, 건설, 인터랙션, 공격 등
This commit is contained in:
2026-01-16 19:30:26 +09:00
parent 5d37aedc93
commit d6292b6879
36 changed files with 1967 additions and 492 deletions

View File

@@ -0,0 +1,13 @@
using Unity.Netcode.Components;
using UnityEngine;
// 이 스크립트를 파일로 저장하세요.
[DisallowMultipleComponent]
public class OwnerNetworkAnimator : NetworkAnimator
{
// 이동 권한이 Owner에게 있으므로, 애니메이션 권한도 Owner가 갖도록 설정합니다.
protected override bool OnIsServerAuthoritative()
{
return false;
}
}