Пример #1
0
        public void Reload()
        {
            _application.CleanupPaletteEditor();

            _colorContentsView.Setup();
            _gradientContentsView.Setup();
            _characterStyleContentsView.Setup();
            _characterStyleTMPContentsView.Setup();

            _application.SetupPaletteEditor(this);
        }
Пример #2
0
        private void OnEnable()
        {
            var application = UPaletteEditorApplication.RequestInstance();

            _application            = application;
            _toolbarPlusIconContent = EditorGUIUtility.IconContent("d_Toolbar Plus");

            _colorContentsView.Setup();
            _gradientContentsView.Setup();
            _characterStyleContentsView.Setup();
            _characterStyleTMPContentsView.Setup();

            _application.SetupPaletteEditor(this);
        }