File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Assets/JCSUnity/Scripts/Effects Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,8 @@ public class JCS_ScaleEffect
100100 private void Start ( )
101101 {
102102 // Only need it for the UI.
103- if ( GetObjectType ( ) == JCS_UnityObjectType . UI )
103+ if ( GetObjectType ( ) == JCS_UnityObjectType . UI ||
104+ GetObjectType ( ) == JCS_UnityObjectType . TEXT )
104105 {
105106 // Get panel root, in order to calculate the
106107 // correct distance base on the resolution.
Original file line number Diff line number Diff line change @@ -187,7 +187,8 @@ protected override void Awake()
187187 private void Start ( )
188188 {
189189 // Only need it for the UI.
190- if ( GetObjectType ( ) == JCS_UnityObjectType . UI )
190+ if ( GetObjectType ( ) == JCS_UnityObjectType . UI ||
191+ GetObjectType ( ) == JCS_UnityObjectType . TEXT )
191192 {
192193 // Get panel root, in order to calculate the
193194 // correct distance base on the resolution.
You can’t perform that action at this time.
0 commit comments