コード例 #1
0
 void DoAction()
 {
     if (_inputField != null)
     {
         local.Value = _inputField.ScreenToLocal(screen.Value);
     }
 }
コード例 #2
0
 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
     }
 }