Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Animate Scale - The glow around a sphere

Discussion in 'Animation' started by GPRoRo, Jan 21, 2015.

  1. GPRoRo

    GPRoRo

    Joined:
    Jan 23, 2014
    Posts:
    1
    Hello, I was wondering if anyone could help me write the C# script that will allow me to animate the green glow? I want to create a pulsating effect. The glow is a texture on a 2D plane. I was thinking that I would write the script to something of the effect of: transform.localScale or something like this?

    Any help would be appreciated.
     

    Attached Files:

  2. Rosie-Posie

    Rosie-Posie

    Joined:
    Nov 20, 2013
    Posts:
    54
    hello Gproro, is there a reason you can't do it using the particle system? It seams it would be much easier for you and you wouldn't need any scripts for that!