void Awake() { if (UIAspectManager.instance == null) { UIAspectManager.init(); } thisPosition = transform.localPosition; UpdateUIPosition(); }
void Awake() { if (UIAspectManager.instance == null) { UIAspectManager.init(); } thisCameraOrthoSize = GetComponent <Camera>().orthographicSize; UpdateCameraOrthoSize(); }