Beispiel #1
0
 void Awake()
 {
     if (UIAspectManager.instance == null)
     {
         UIAspectManager.init();
     }
     thisPosition = transform.localPosition;
     UpdateUIPosition();
 }
Beispiel #2
0
    void Awake()
    {
        if (UIAspectManager.instance == null)
        {
            UIAspectManager.init();
        }

        thisCameraOrthoSize = GetComponent <Camera>().orthographicSize;
        UpdateCameraOrthoSize();
    }