How To Give 2oomIn And ZoomOut Effect On Obstacle?

by jishan nuran   Last Updated July 12, 2019 14:13 PM

I m Working On 2D Game, how to apply effect on obstacle on zoom in zoom out.


 void FixedUpdate()

void goTopToDown()   //obstacle come top to down
    if (Gamemanager.stopobstacle == false)
        transform.position += Vector3.down  * speed * Time.deltaTime;            //move top to down


enter image description here

Tags : unity 2d

Related Questions

Unfortunately game has stopped

Updated July 02, 2019 11:13 AM

How to animate objects in Unity 3D

Updated July 12, 2015 13:05 PM