Click or drag to resize

HitData Constructor (Transform, TouchLayer, Boolean)

Initializes a new instance of the HitData struct.

Namespace:  TouchScript.Hit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public HitData(
	Transform target,
	TouchLayer layer,
	bool screenSpace = false
)

Parameters

target
Type: Transform
Target Target.
layer
Type: TouchScript.LayersTouchLayer
Touch layer this hit came from.
screenSpace (Optional)
Type: SystemBoolean
If the hit is screenspace UI.
See Also