Example #1
0
        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);
        }
Example #2
0
        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);
        }