Click or drag to resize

ControlPointUI Class

A Control Point UI Unity component. It can be used for moving scene objects
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          BrydenWoodUnity.UIElementsUiRepresentation
            BrydenWoodUnity.UIElementsControlPointUI

Namespace:  BrydenWoodUnity.UIElements
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class ControlPointUI : UiRepresentation, 
	IDragHandler, IEventSystemHandler, IPointerDownHandler, IPointerUpHandler, IPointerEnterHandler, 
	IPointerExitHandler

The ControlPointUI type exposes the following members.

Constructors
  NameDescription
Public methodControlPointUI
Initializes a new instance of the ControlPointUI class
Top
Methods
Events
  NameDescription
Public eventmoved
Triggered when the element is moved
Public eventonSelected
Public eventstoppedMoving
Top
Fields
  NameDescription
Public fieldaxis
Public fieldaxisConstrain
Public fieldimage
The Image component of the GUI object
Public fieldinitialDiffs
Public fieldmouseOver
The color to be used when the mouse is over the element
Public fieldmovePlane
The type of plane to contrain the movement on (the actual plane will be parallel to this one but with its centre at the initial position of the scene object
Public fieldoriginal
The original color of the Image
Public fieldselected
The color to be used when the element is clicked
Top
See Also