We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3f915a commit 3ae806eCopy full SHA for 3ae806e
1 file changed
Assets/Scripts/Animations/Anims/Anim_GlowAtoms.cs
@@ -24,6 +24,8 @@ public override void Play()
24
25
foreach (Atom atom in structure.structureBuilder.crystal.atoms.Values)
26
{
27
+ if(atom.drawnObject == null) continue;
28
+
29
Anim_GlowPulse anim = atom.drawnObject.AddComponent<Anim_GlowPulse>() as Anim_GlowPulse;
30
anim.emissionColor = new Color(1,1,0);
31
anim.maxIntensity = 0.4f;
0 commit comments