快速連結

2016年8月10日

【筆記】在Orthographic camera中取得寬高

筆記來源 how to get the width and height of a Orthographic camera.


Camera cam = Camera.main;
 float height = 2f * cam.orthographicSize;
 float width = height * cam.aspect;

2016年8月8日

Unity內的Delegate.CreateDelegate

真心大崩潰的Delegate.CreateDelegate流程。
筆記一下來紀念我花了一小時發現他給的"ArgumentException" Error意涵(哭奔)