Skip to content

Commit 7e6f37f

Browse files
committed
camera interface with following target abstract function limitation.
1 parent 064b395 commit 7e6f37f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Assets/JCSUnity/Scripts/JCS_Camera.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
namespace JCSUnity
1515
{
16-
1716
/// <summary>
1817
/// Camera class for JCSUnity framework.
1918
/// </summary>
@@ -72,6 +71,10 @@ public abstract class JCS_Camera
7271
public Vector3 Velocity { get { return this.mVelocity; } set { this.mVelocity = value; } }
7372
public bool Following { get { return this.mFollowing; } set { this.mFollowing = value; } }
7473

74+
/* Get/Set the target this camera follows. */
75+
public abstract void SetFollowTarget(Transform trans);
76+
public abstract Transform GetFollowTarget();
77+
7578
//========================================
7679
// Unity's function
7780
//------------------------------

0 commit comments

Comments
 (0)