Exemple #1
0
        protected override void AwakeOverride()
        {
            base.AwakeOverride();
            IOC.RegisterFallback <IAnimationSelectPropertiesDialog>(this);

            if (m_propertiesTreeView != null)
            {
                m_propertiesTreeView.CanReorder     = false;
                m_propertiesTreeView.CanReparent    = false;
                m_propertiesTreeView.CanDrag        = false;
                m_propertiesTreeView.CanSelectAll   = false;
                m_propertiesTreeView.CanMultiSelect = false;
                m_propertiesTreeView.CanEdit        = false;

                m_propertiesTreeView.ItemDataBinding += OnItemDatabinding;
                m_propertiesTreeView.ItemExpanding   += OnItemExpanding;
            }

            m_voidComponentEditor = gameObject.AddComponent <VoidComponentEditor>();
        }
 protected virtual void Awake()
 {
     Subscribe();
     m_voidComponentEditor = gameObject.AddComponent <VoidComponentEditor>();
     m_editorsMap          = IOC.Resolve <IEditorsMap>();
 }