Skip to content

Commit 5c4d077

Browse files
committed
Add api.
1 parent cedfdc4 commit 5c4d077

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Assets/JCSUnity/Scripts/GameObject/3D/3DPlayer/JCS_3DCameraPlayer.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ public class JCS_3DCameraPlayer
6060

6161
/* Setter & Getter */
6262

63+
public Transform LookPoint { get { return this.mLookPoint; } set { this.mLookPoint = value; } }
64+
public float LookDistance { get { return this.mLookDistance; } set { this.mLookDistance = value; } }
65+
66+
public float JumpForce { get { return this.mJumpForce; } set { this.mJumpForce = value; } }
67+
68+
public KeyCode UpKey { get { return this.mUpKey; } set { this.mUpKey = value; } }
69+
public KeyCode DownKey { get { return this.mDownKey; } set { this.mDownKey = value; } }
70+
public KeyCode RightKey { get { return this.mRightKey; } set { this.mRightKey = value; } }
71+
public KeyCode LeftKey { get { return this.mLeftKey; } set { this.mLeftKey = value; } }
72+
6373
/* Functions */
6474

6575
protected override void Awake()

0 commit comments

Comments
 (0)