Inheritance: UIInteractiveDGRP
Beispiel #1
0
        public void EnsureReady()
        {
            if (FSOUI == null)
            {
                var mainCont = new UIExternalContainer(128, 128);
                mainCont.UseZ = true;
                Renderer      = new UIAvatarAnimator();
                mainCont.Add(Renderer);
                GameFacade.Screens.AddExternal(mainCont);

                SetUI(mainCont);
            }
        }
Beispiel #2
0
        public void ShowAnim(string anim)
        {
            if (FSOUI == null)
            {
                var mainCont = new UIExternalContainer(128, 128);
                Renderer = new UIAvatarAnimator();
                mainCont.Add(Renderer);
                GameFacade.Screens.AddExternal(mainCont);

                SetUI(mainCont);
            }
            Renderer.SetAnimation(anim);
        }
        public void ShowAnim(string anim)
        {
            if (FSOUI == null)
            {
                var mainCont = new UIExternalContainer(128, 128);
                Renderer = new UIAvatarAnimator();
                mainCont.Add(Renderer);
                GameFacade.Screens.AddExternal(mainCont);

                SetUI(mainCont);
            }
            Renderer.SetAnimation(anim);
        }