Adding layers to the block

  1. Create a new object on the scene in 0,0,0 position

  2. Rename gameObject to the same name of the block from the SquareTypes enum

  3. Drag first layer block from the prefabs inward

  4. Set first layer sprite on this object or keep it

  5. Duplicate the object and set second layer texture

  6. Add Layered Block component

  7. Drab both objects to the apropriate layers of the LayeredObject

  8. Drag it to the prefabs and delete from the scene

Last updated