예제 #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;
 }