We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 064b395 commit 7e6f37fCopy full SHA for 7e6f37f
Assets/JCSUnity/Scripts/JCS_Camera.cs
@@ -13,7 +13,6 @@
13
14
namespace JCSUnity
15
{
16
-
17
/// <summary>
18
/// Camera class for JCSUnity framework.
19
/// </summary>
@@ -72,6 +71,10 @@ public abstract class JCS_Camera
72
71
public Vector3 Velocity { get { return this.mVelocity; } set { this.mVelocity = value; } }
73
public bool Following { get { return this.mFollowing; } set { this.mFollowing = value; } }
74
+ /* Get/Set the target this camera follows. */
75
+ public abstract void SetFollowTarget(Transform trans);
76
+ public abstract Transform GetFollowTarget();
77
+
78
//========================================
79
// Unity's function
80
//------------------------------
0 commit comments