Beispiel #1
0
        private void Update(WorldForm wf, ref MapSelection sel, Quaternion q)
        {
            Audio?.SetOrientation(q);

            if (Audio != sel.Audio)
            {
                wf.SelectAudio(Audio);
            }
            wf.SetWidgetRotation(q);
        }
Beispiel #2
0
        private void Update(WorldForm wf, ref MapSelection sel, Vector3 p)
        {
            Audio?.SetPosition(p);

            if (Audio != sel.Audio)
            {
                wf.SelectAudio(Audio);
            }
            wf.SetWidgetPosition(p);
        }