File tree Expand file tree Collapse file tree 1 file changed +38
-2
lines changed Expand file tree Collapse file tree 1 file changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ protected override string GetName()
40
40
41
41
#region Private Data
42
42
[ Serializable ]
43
- private class TapEventMapping
43
+ public class TapEventMapping
44
44
{
45
45
public GameObject m_TapObject = null ;
46
46
public bool m_TapOnObject = true ;
@@ -50,7 +50,7 @@ private class TapEventMapping
50
50
} ;
51
51
52
52
[ Serializable ]
53
- private class FullScreenDragEventMapping
53
+ public class FullScreenDragEventMapping
54
54
{
55
55
[ Tooltip ( "If there is no drag layer object set, it uses FullScreen" ) ]
56
56
public GameObject m_DragLayerObject = null ;
@@ -67,6 +67,42 @@ private class FullScreenDragEventMapping
67
67
private List < FullScreenDragEventMapping > m_FullScreenDragMappings = new List < FullScreenDragEventMapping > ( ) ;
68
68
#endregion
69
69
70
+ #region Public Members
71
+
72
+ /// <summary>
73
+ /// Gets or sets the tap mappings.
74
+ /// </summary>
75
+ /// <value>The tap mappings.</value>
76
+ public List < TapEventMapping > TapMappings
77
+ {
78
+ get
79
+ {
80
+ return m_TapMappings ;
81
+ }
82
+ set
83
+ {
84
+ m_TapMappings = value ;
85
+ }
86
+ }
87
+
88
+ /// <summary>
89
+ /// Gets or sets the full screen drag mappings.
90
+ /// </summary>
91
+ /// <value>The full screen drag mappings.</value>
92
+ public List < FullScreenDragEventMapping > FullScreenDragMappings
93
+ {
94
+ get
95
+ {
96
+ return m_FullScreenDragMappings ;
97
+ }
98
+ set
99
+ {
100
+ m_FullScreenDragMappings = value ;
101
+ }
102
+ }
103
+
104
+ #endregion
105
+
70
106
#region Event Handlers
71
107
private void OnEnable ( )
72
108
{
You can’t perform that action at this time.
0 commit comments