Search Unity

Question Can't figure problem out

Discussion in 'Multiplayer' started by Shimmerio, Jun 1, 2022.

  1. Shimmerio

    Shimmerio

    Joined:
    May 25, 2021
    Posts:
    1
    I've been trying to design a card game, but whenever I attempt to call the card to be drawn on the client side, it doesnt go to the right position nor does it sprite generate, but it works fine on the host side.
     

    Attached Files:

  2. thethanksforthegod

    thethanksforthegod

    Joined:
    Feb 18, 2020
    Posts:
    19
    you can create empty gameobjects as spawn points for the right position without that complex math that you using also a bit of advice you should stop using GameObject.Find unless you have to you can use reference object or at least FindGameObjectsWithTag or FindGameObjectsByType.