public void MoveUI(Vector3 delta) { if (fitScreen != FitScreen.None) return; this.position += delta; if (_ui != null) _ui.position = position; uiBounds.position = position; }
static public int MoveUI(IntPtr l) { try { FairyGUI.UIPanel self = (FairyGUI.UIPanel)checkSelf(l); UnityEngine.Vector3 a1; checkType(l, 2, out a1); self.MoveUI(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }