Skip to content

Commit c168b48

Browse files
committed
style: Simplify header attr
1 parent 6077581 commit c168b48

File tree

94 files changed

+230
-229
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+230
-229
lines changed

Assets/JCSUnity/Scripts/Actions/2D/AI/AIMoveAction/JCS_2DFlyAction.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public enum StatusY
4949
[SerializeField]
5050
private float mFlyForceY = 10.0f;
5151

52-
[Header("- Activate")]
52+
[Header("Activate")]
5353

5454
[Tooltip("Possiblity of going UP.")]
5555
[SerializeField]
@@ -86,7 +86,7 @@ public enum StatusY
8686
[Range(0.0f, 100.0f)]
8787
private float mPossibility = 80.0f;
8888

89-
[Header("- Time")]
89+
[Header("Time")]
9090

9191
[Tooltip("Time to do one Fly.")]
9292
[SerializeField]
@@ -112,7 +112,7 @@ public enum StatusY
112112
[SerializeField]
113113
private JCS_TimeType mTimeType = JCS_TimeType.DELTA_TIME;
114114

115-
[Header("- Space Limitation")]
115+
[Header("Space Limitation")]
116116

117117
[Tooltip("Lowest height the object can go.")]
118118
[SerializeField]
@@ -124,7 +124,7 @@ public enum StatusY
124124
[Range(-1000.0f, 1000.0f)]
125125
private float mMaxHeight = 500.0f;
126126

127-
[Header("- Track")]
127+
[Header("Track")]
128128

129129
[Tooltip("If get mad will start tracking the object that make this object mad.")]
130130
[SerializeField]
@@ -134,7 +134,7 @@ public enum StatusY
134134
[SerializeField]
135135
private JCS_AttackerRecorder mAttackRecorder = null;
136136

137-
[Header("- Optional")]
137+
[Header("Optional")]
138138

139139
[Tooltip("Live object animation.")]
140140
[SerializeField]
@@ -144,7 +144,7 @@ public enum StatusY
144144
[SerializeField]
145145
private bool mIgnorePlatform = true;
146146

147-
[Header("- Sound")]
147+
[Header("Sound")]
148148

149149
[Tooltip("Sound while flying.")]
150150
[SerializeField]

Assets/JCSUnity/Scripts/Actions/2D/AI/AIMoveAction/JCS_2DJumpAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class JCS_2DJumpAction : JCS_AIAction
6060
[SerializeField]
6161
private JCS_TimeType mTimeType = JCS_TimeType.DELTA_TIME;
6262

63-
[Header("- Action")]
63+
[Header("Action")]
6464

6565
[Tooltip("Generate a random walk speed at the initilaize time.")]
6666
[SerializeField]
@@ -72,7 +72,7 @@ public class JCS_2DJumpAction : JCS_AIAction
7272
[Range(1.0f, 10.0f)]
7373
private float mRandomJumpForceRange = 5.0f;
7474

75-
[Header("- Optional")]
75+
[Header("Optional")]
7676

7777
[Tooltip("Live object animation.")]
7878
// Animator in order to set the animation.

Assets/JCSUnity/Scripts/Actions/2D/AI/AIMoveAction/JCS_2DWalkAction.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public enum Status
5858
[Range(0.0f, 100.0f)]
5959
private float mPossibility = 80.0f;
6060

61-
[Header("- Time")]
61+
[Header("Time")]
6262

6363
[Tooltip("Time to do one walk.")]
6464
[SerializeField]
@@ -84,7 +84,7 @@ public enum Status
8484
[SerializeField]
8585
private JCS_TimeType mTimeType = JCS_TimeType.DELTA_TIME;
8686

87-
[Header("- Action")]
87+
[Header("Action")]
8888

8989
[Tooltip("Generate a random walk speed at the initilaize time.")]
9090
[SerializeField]
@@ -96,7 +96,7 @@ public enum Status
9696
[Range(1, 10)]
9797
private float mRandomWalkSpeedRange = 5;
9898

99-
[Header("- Track Effect")]
99+
[Header("Track Effect")]
100100

101101
[Tooltip("If get mad will start tracking the object that make this object mad.")]
102102
[SerializeField]
@@ -106,7 +106,7 @@ public enum Status
106106
[SerializeField]
107107
private JCS_AttackerRecorder mAttackRecorder = null;
108108

109-
[Header("- Optional")]
109+
[Header("Optional")]
110110

111111
[Tooltip("Live object animation.")]
112112
[SerializeField]

Assets/JCSUnity/Scripts/Actions/2D/AI/JCS_2DDeadAction.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ public class JCS_2DDeadAction : MonoBehaviour
2020

2121
private JCS_2DLiveObject mLiveObject = null;
2222

23-
[Header("- Optional")]
23+
[Header("Optional")]
2424

2525
[Tooltip("Live object animation.")]
2626
[SerializeField]
2727
private JCS_2DLiveObjectAnimator mLiveObjectAnimator = null;
2828

29-
[Header("- Sound")]
29+
[Header("Sound")]
3030

3131
[Tooltip("Play one shot when this action active.")]
3232
[SerializeField]
@@ -35,7 +35,7 @@ public class JCS_2DDeadAction : MonoBehaviour
3535
// check to play the die sound.
3636
private bool mSoundPlayed = false;
3737

38-
[Header("- Effect")]
38+
[Header("Effect")]
3939

4040
[Tooltip("Disable unnecessary componenet when died.")]
4141
[SerializeField]

Assets/JCSUnity/Scripts/Actions/2D/JCS_2DActiveSkillAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class JCS_2DActiveSkillAction : MonoBehaviour
3737
[SerializeField]
3838
private bool mStayWithActiveTarget = true;
3939

40-
[Header("- Spawn")]
40+
[Header("Spawn")]
4141

4242
[Tooltip("Spawns in the same position.")]
4343
[SerializeField]

Assets/JCSUnity/Scripts/Actions/2D/JCS_2DReflectBulletAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class JCS_2DReflectBulletAction : MonoBehaviour
3131
// Sound
3232
private JCS_SoundPoolAction mSoundPoolAction = null;
3333

34-
[Header("- Reflect")]
34+
[Header("Reflect")]
3535

3636
[Tooltip(@"After reflecting the bullet, add the random
3737
degree in to it. In order to get this effect work, better set
@@ -40,7 +40,7 @@ public class JCS_2DReflectBulletAction : MonoBehaviour
4040
[Range(0, 180)]
4141
private float mRandomReflectDegree = 0;
4242

43-
[Header("- Random Teleport Effect")]
43+
[Header("Random Teleport Effect")]
4444

4545
[Tooltip("Position offset.")]
4646
[SerializeField] private Vector3 mPosOffset = Vector3.zero;

Assets/JCSUnity/Scripts/Actions/2D/JCS_2DSkills.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public abstract class JCS_2DSkills : MonoBehaviour
7171
[SerializeField]
7272
protected JCS_TimeType mTimeType = JCS_TimeType.DELTA_TIME;
7373

74-
[Header("- Spawn")]
74+
[Header("Spawn")]
7575

7676
[Tooltip("Spawn the same position as this game object.")]
7777
[SerializeField]
@@ -85,7 +85,7 @@ public abstract class JCS_2DSkills : MonoBehaviour
8585
[SerializeField]
8686
protected bool mSameScale = true;
8787

88-
[Header("- Sound")]
88+
[Header("Sound")]
8989

9090
[Tooltip("Optional sound player for 3D sounds calculation.")]
9191
[SerializeField]

Assets/JCSUnity/Scripts/Actions/2D/JCS_2DTrackAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public class JCS_2DTrackAction : MonoBehaviour , JCS_IAction
7575
[SerializeField]
7676
private bool mHardOnZ = false;
7777

78-
[Header("- Order")]
78+
[Header("Order")]
7979

8080
[Tooltip("Set the track action order.")]
8181
[SerializeField]

Assets/JCSUnity/Scripts/Actions/2D/JCS_SimpleInvincibleTimeAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class JCS_SimpleInvincibleTimeAction : MonoBehaviour
3939
[SerializeField]
4040
private JCS_TimeType mTimeType = JCS_TimeType.DELTA_TIME;
4141

42-
[Header("- Flash Effect (JCS_SimpleInvincibleTimeAction) ")]
42+
[Header("Flash Effect (JCS_SimpleInvincibleTimeAction) ")]
4343

4444
[Tooltip("Color when is invincible.")]
4545
[SerializeField]
@@ -60,7 +60,7 @@ public class JCS_SimpleInvincibleTimeAction : MonoBehaviour
6060
// current color is.
6161
private bool mFlashToggle = false;
6262

63-
[Header("- Sound")]
63+
[Header("Sound")]
6464

6565
[Tooltip("Play once while triggered.")]
6666
[SerializeField]

Assets/JCSUnity/Scripts/Actions/2D/Shooting/JCS_2DSequenceShootActionNoDetection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class JCS_2DSequenceShootActionNoDetection : MonoBehaviour, JCS_IAction
5555
[SerializeField]
5656
private bool mKeepShootAngle = true;
5757

58-
[Header("- Shoot Gap")]
58+
[Header("Shoot Gap")]
5959

6060
[Tooltip("Shoot with gap?")]
6161
[SerializeField]

0 commit comments

Comments
 (0)