You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/Assets/TouchScript/Editor/TouchManagerEditor.cs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,21 +18,23 @@ internal sealed class TouchManagerEditor : UnityEditor.Editor
18
18
{
19
19
privatestaticreadonlyGUIContentDISPLAY_DEVICE=newGUIContent("Display Device","Display device properties where such parameters as target DPI are stored.");
20
20
privatestaticreadonlyGUIContentCREATE_CAMERA_LAYER=newGUIContent("Create Camera Layer","Indicates if TouchScript should create a CameraLayer for you if no layers present in a scene. This is usually a desired behavior but sometimes you would want to turn this off if you are using TouchScript only to get touch input from some device.");
21
+
privatestaticreadonlyGUIContentCREATE_STANDARD_INPUT=newGUIContent("Create Standard Input","");
21
22
privatestaticreadonlyGUIContentUSE_SEND_MESSAGE=newGUIContent("Use SendMessage","If you use UnityScript or prefer using Unity Messages you can turn them on with this option.");
22
23
privatestaticreadonlyGUIContentSEND_MESSAGE_TARGET=newGUIContent("SendMessage Target","The GameObject target of Unity Messages. If null, host GameObject is used.");
23
24
privatestaticreadonlyGUIContentSEND_MESSAGE_EVENTS=newGUIContent("SendMessage Events","Which events should be sent as Unity Messages.");
24
25
privatestaticreadonlyGUIContentLAYERS_HEADER=newGUIContent("Touch Layers","Sorted array of Touch Layers in the scene.");
Copy file name to clipboardExpand all lines: Source/Assets/TouchScript/Scripts/ITouchManager.cs
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,9 @@ public interface ITouchManager
86
86
/// </summary>
87
87
/// <value><c>true</c> if a CameraLayer should be created on startup; otherwise, <c>false</c>.</value>
88
88
/// <remarks>This is usually a desired behavior but sometimes you would want to turn this off if you are using TouchScript only to get touch input from some device.</remarks>
89
-
BooleanShouldCreateCameraLayer{get;set;}
89
+
boolShouldCreateCameraLayer{get;set;}
90
+
91
+
boolShouldCreateStandardInput{get;set;}
90
92
91
93
/// <summary>
92
94
/// Gets the list of touch layers.
@@ -178,7 +180,6 @@ public interface ITouchManager
178
180
/// </summary>
179
181
/// <param name="id">Touch id to cancel.</param>
180
182
voidCancelTouch(intid);
181
-
182
183
}
183
184
184
185
/// <summary>
@@ -197,7 +198,9 @@ public class TouchEventArgs : EventArgs
197
198
/// <summary>
198
199
/// Initializes a new instance of the <see cref="TouchEventArgs"/> class.
0 commit comments