Nextrek
Diff Revisions
167
vs
168
for /3DSpace/Assets/SpaceUnity/Scripts/SuCameraAnimation1.cs
|
@@ -24,12 +24,12 @@ |
24 |
24 |
|
this.gameObject.SetActive(false); |
25 |
25 |
|
} |
26 |
26 |
|
if(temp1 < 0) |
27 |
|
- |
star.particleSystem.startSize = 250; |
|
27 |
+ |
star.GetComponent<ParticleSystem>().startSize = 250; |
28 |
28 |
|
|
29 |
29 |
|
if(temp2 < 0) |
30 |
|
- |
star.particleSystem.startSize = 300; |
|
30 |
+ |
star.GetComponent<ParticleSystem>().startSize = 300; |
31 |
31 |
|
|
32 |
32 |
|
if(temp3 < 0) |
33 |
|
- |
star.particleSystem.startSize = 250; |
|
33 |
+ |
star.GetComponent<ParticleSystem>().startSize = 250; |
34 |
34 |
|
} |
35 |
35 |
|
} |