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