Click or drag to resize

TouchManagerInstanceShouldCreateCameraLayer Property

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

Namespace:  TouchScript.Core
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.

Implements

ITouchManagerShouldCreateCameraLayer
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