void DoAction() { if (_inputField != null) { local.Value = _inputField.ScreenToLocal(screen.Value); } }
void DoAction() { if (_inputField != null) { #if UNITY_PRE_5_3 local.Value = _inputField.ScreenToLocal(screen.Value); #else UnityEngine.Debug.LogError("uGuiInputFieldScreenToLocal is obsolete, please use 'RectTransformScreenPointToLocalPointInRectangle' instead"); #endif } }