[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

cowbear6598/LetterboxAspectRatio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

黑邊自適應

  • CameraLetterbox: 更改主攝影機的 Rect 來達成強制所解析度以及加上黑邊處理。
  • CanvasResolutionHandler: 更改 Canvas Scaler 的 Scale With Screen Size,計算目前解析度與設定的解析度的比例來調整依據 Width 還是 Height。
  • 兩個可分開使用,尤其是 UI,因為黑邊的功能就目前遊戲來說真的比較少看到,更多是依據解析度調整好 UI 的位置

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages