2014-08-07から1日間の記事一覧
Screen.width; Screen.height; などは、EditorではなぜかGame Sceneの解像度の設定から取得できない。URL: http://kirillmuzykov.com/unity-get-game-view-resolution/ここに解決策が! しかもリフレクションを使っている。 public class Singleton<T> where T </t>…
“ゲーム開発手法の民主化”を謳っている UnityのEditorのGameシーンの左上にあるところの大きさを取りたいことがしばしばある。URL: http://docs.unity3d.com/ScriptReference/Screen-height.html Screen.width; Screen.height; などは、EditorではなぜかGame…