'Study & Tip/Unity'에 해당되는 글 2건

  1. 2020.09.25 Orthographic Camera to Perspective Camera
  2. 2020.09.24 Unity Analytics Event Sample

OrthographicSize = CameraDistance * Mathf.Tan( PerspectiveFOV * 0.5f * Mathf.Deg2Rad )

CameraDistance = OrthographicSize / Mathf.Tan( PerspectiveFOV * 0.5f * Mathf.Deg2Rad )


 

'Study & Tip > Unity' 카테고리의 다른 글

Unity Analytics Event Sample  (0) 2020.09.24
Posted by IdleMage
,
1
2
3
4
5
6
7
8
9
10
using UnityEngine.Analytics;
 
public void OnEvent()
{
   AnalyticsEvent.Custom("CustromEventName"new Dictionary<stringobject>
   {
      { "EventDetail""info" },
      { "EventCount"5 }
   });
}
cs

 

'Study & Tip > Unity' 카테고리의 다른 글

Orthographic Camera to Perspective Camera  (0) 2020.09.25
Posted by IdleMage
,