Click or drag to resize

Untouchable Class

Makes an object it is attached to untouchable, i.e. it completely ignores all pointers landing on it.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          TouchScript.HitHitTest
            TouchScript.HitUntouchable

Namespace:  TouchScript.Hit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class Untouchable : HitTest

The Untouchable type exposes the following members.

Constructors
  NameDescription
Public methodUntouchable
Initializes a new instance of the Untouchable class
Top
Methods
  NameDescription
Public methodIsHit
Determines whether a pointer hit the object.
(Overrides HitTestIsHit(IPointer, HitData).)
Top
Fields
  NameDescription
Public fieldDiscardPointer
Indicates if instead of not reacting to pointers the object should completely discard them making it impossible for other gestures to receive them.
Top
See Also