private void Update(WorldForm wf, ref MapSelection sel, Quaternion q) { Portal?.SetOrientation(q); if (Portal != sel.NavPortal) { wf.SelectNavPortal(Portal); } wf.SetWidgetRotation(q); //UpdateGraphics(wf); }
private void Update(WorldForm wf, ref MapSelection sel, Vector3 p) { Portal?.SetPosition(p); if (Portal != sel.NavPortal) { wf.SelectNavPortal(Portal); } wf.SetWidgetPosition(p); UpdateGraphics(wf); }