コード例 #1
0
        private void Start()
        {
            m_rte         = IOC.Resolve <IRTE>();
            m_paletteView = GetComponentInParent <MaterialPaletteViewImpl>();
            m_highlight.SetActive(IsPointerOver);

            m_rte.DragDrop.Drop += OnDrop;
        }
コード例 #2
0
 private void Start()
 {
     m_objectEditor.Init(this, this, Strong.PropertyInfo((MaterialPaletteItem x) => x.Material));
     m_paletteView = GetComponentInParent <MaterialPaletteViewImpl>();
 }