예제 #1
0
        public void UISetupState(Atom apAtom)
        {
            if (apAtom == null)
            {
                selectButton.gameObject.SetActive(true);
                createButton.gameObject.SetActive(true);
                slider.gameObject.SetActive(false);
            }
            else
            {
                ap = apAtom.GetStorableByID("AnimationPattern") as AnimationPattern;
                if (ap == null)
                {
                    return;
                }

                ap.InitUI();
                AttachCustomSlider();
                selectButton.gameObject.SetActive(false);
                createButton.gameObject.SetActive(false);
                slider.gameObject.SetActive(true);
            }
        }