示例#1
0
        public ElementResizer(VisualElement resizedElement, ResizableElement.Resizer direction)
        {
            m_Direction      = direction;
            m_ResizedElement = resizedElement;

            activators.Add(new ManipulatorActivationFilter {
                button = MouseButton.LeftMouse
            });
        }
示例#2
0
 public ElementResizer(VisualElement resizedElement, ResizableElement.Resizer direction)
 {
     this.direction      = direction;
     this.resizedElement = resizedElement;
 }