Click or drag to resize

TouchManagerShouldCreateCameraLayer Property

Indicates if TouchScript should create a CameraLayer for you if no layers present in a scene.

Namespace:  TouchScript
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public bool ShouldCreateCameraLayer { get; set; }

Property Value

Type: Boolean
true if a CameraLayer should be created on startup; otherwise, false.
Remarks
This is usually a desired behavior but sometimes you would want to turn this off if you are using TouchScript only to get pointer input from some device.
See Also