Skip to content

Commit 00b54fb

Browse files
committed
Merge branch 'feature-24-alchemyLanguageAbstraction' of https://github.com/watson-developer-cloud/unity-sdk into feature-24-alchemyLanguageAbstraction
2 parents 0b3ac43 + a64d41a commit 00b54fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Scripts/Camera/WatsonCamera.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ public class WatsonCamera : MonoBehaviour
3535
private List<CameraTarget> m_ListCameraTarget = new List<CameraTarget>();
3636
private CameraTarget m_TargetCamera = null;
3737

38-
private Vector3 m_CameraInitialLocation;
39-
private Quaternion m_CameraInitialRotation;
38+
protected Vector3 m_CameraInitialLocation;
39+
protected Quaternion m_CameraInitialRotation;
4040
[SerializeField]
4141
protected float m_PanSpeed = 0.07f;
4242
[SerializeField]
4343
protected float m_ZoomSpeed = 20.0f;
4444
[SerializeField]
45-
private float m_SpeedForCameraAnimation = 2f;
45+
protected float m_SpeedForCameraAnimation = 2f;
4646

4747
private float m_CommandMovementModifier = 10.0f;
4848

@@ -190,7 +190,7 @@ protected virtual void InitializeCameraTargetList()
190190
/// Event handler to pan and zoom with two-finger dragging
191191
/// </summary>
192192
/// <param name="args">Arguments.</param>
193-
protected virtual void DragTwoFinger(System.Object[] args)
193+
public virtual void DragTwoFinger(System.Object[] args)
194194
{
195195
if (m_DisableInteractivity)
196196
return;

0 commit comments

Comments
 (0)