# 기본 텍스트 처리: 자동 개행 정규화
* text=auto eol=lf

# Windows 배치 파일만 CRLF 유지
*.bat  text eol=crlf
*.cmd  text eol=crlf

# C# / Unity 텍스트
*.cs     text diff=csharp
*.asmdef text
*.json   text
*.md     text
*.txt    text
*.xml    text
*.yml    text
*.yaml   text

# Unity 에셋 텍스트 포맷 (Force Text 모드 가정)
*.unity    text merge=unityyamlmerge
*.prefab   text merge=unityyamlmerge
*.asset    text merge=unityyamlmerge
*.mat      text merge=unityyamlmerge
*.anim     text merge=unityyamlmerge
*.controller text merge=unityyamlmerge
*.meta     text merge=unityyamlmerge

# 바이너리
*.png  binary
*.jpg  binary
*.jpeg binary
*.gif  binary
*.psd  binary
*.tga  binary
*.tif  binary
*.tiff binary
*.mp3  binary
*.wav  binary
*.ogg  binary
*.mp4  binary
*.mov  binary
*.fbx  binary
*.obj  binary
*.blend binary
*.ttf  binary
*.otf  binary
*.dll  binary
*.so   binary
*.dylib binary

# Git LFS 후보 (초기엔 비활성, 대용량 에셋 추가 시 활성화)
# *.png filter=lfs diff=lfs merge=lfs -text
# *.fbx filter=lfs diff=lfs merge=lfs -text
