Search Unity

Does Unity2D has a way to do sprite effects like cocos2d

Discussion in '2D' started by liiijz, Dec 7, 2014.

  1. liiijz

    liiijz

    Joined:
    Dec 7, 2014
    Posts:
    4
  2. GarBenjamin

    GarBenjamin

    Joined:
    Dec 26, 2013
    Posts:
    7,441
    Fading is easy in Unity. Just change the SpriteRenderer.color alpha value.
    Gradually reducing from 1f to 0f will fade out. Gradually increasing from 0f to 1f will fade in.
     
  3. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Looks like they make a grid mesh, and perform operations on the mesh. You can do that with the Mesh class in Unity (but it wouldn't be using Unity sprites per se).

    --Eric