Skip to content

Instantly share code, notes, and snippets.

@takopom
Created May 24, 2016 04:05
Show Gist options
  • Save takopom/e15fa92e2b7496a405196ee7c8aedffc to your computer and use it in GitHub Desktop.
Save takopom/e15fa92e2b7496a405196ee7c8aedffc to your computer and use it in GitHub Desktop.
UnityのOrthographicSizeをアスペクト比に合わせて調整する
float adjustOrthographicSize = originalOrthigraphicSize / camera.aspect / 2.0f;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment