Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

2D Collision according to body index - UNITY TINY

Discussion in 'Project Tiny' started by Rangerz132, Jun 10, 2021.

  1. Rangerz132

    Rangerz132

    Joined:
    Feb 3, 2019
    Posts:
    23
    Hello everybody,

    I'm currently making a card game.

    At the moment, I'm able to click, drag and drop cards. However when there is a card behind another card, I will always click on the card behind and not the card in front. Is ther a way to fix that?

    Thanks
     
  2. Yaver_Abbasov

    Yaver_Abbasov

    Joined:
    Jan 15, 2017
    Posts:
    3
    Use layer order then check when clicked the card
     
unityunity