private void Start() { m_rte = IOC.Resolve <IRTE>(); m_paletteView = GetComponentInParent <MaterialPaletteViewImpl>(); m_highlight.SetActive(IsPointerOver); m_rte.DragDrop.Drop += OnDrop; }
private void Start() { m_objectEditor.Init(this, this, Strong.PropertyInfo((MaterialPaletteItem x) => x.Material)); m_paletteView = GetComponentInParent <MaterialPaletteViewImpl>(); }