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