Click or drag to resize

RaycastGraphic Class

A sub-class of the Unity UI Graphic that just skips drawing. Useful for providing a raycast target without actually drawing anything.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          UIBehaviour
            Graphic
              Kit.UI.BehavioursRaycastGraphic

Namespace:  Kit.UI.Behaviours
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public class RaycastGraphic : Graphic
Request Example View Source

The RaycastGraphic type exposes the following members.

Methods
  NameDescription
Public methodSetMaterialDirty (Overrides Graphic.SetMaterialDirty.)
Public methodSetVerticesDirty (Overrides Graphic.SetVerticesDirty.)
Top
Extension Methods
  NameDescription
Public Extension MethodDestroy
Destroy the object.
(Defined by UnityObjectExtensions.)
Public Extension MethodDisable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodEnable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodGetBounds

Returns the bounds of the Component.

(Defined by ComponentExtensions.)
Public Extension MethodIsPrefab
Returns whether the Component is a part of a prefab.
(Defined by ComponentExtensions.)
Top
See Also