Esempio n. 1
0
            void IDrawer.Draw(TData data, Editor owner)
            {
                if (m_Enabler != null && !m_Enabler(data, owner))
                {
                    return;
                }

                if (m_Anim != null)
                {
                    CoreEditorUtils.BeginAdditionalPropertiesHighlight(m_Anim);
                }

                for (var i = 0; i < m_ActionDrawers.Length; i++)
                {
                    m_ActionDrawers[i](data, owner);
                }

                if (m_Anim != null)
                {
                    CoreEditorUtils.EndAdditionalPropertiesHighlight();
                }
            }