Search Unity

Manually putting Prefab on scene behave differently.

Discussion in '2D' started by Pervenc, Mar 18, 2019.

  1. Pervenc

    Pervenc

    Joined:
    Jul 19, 2017
    Posts:
    3
    So, i have a rock on my scene and if the Player selected is "rockResistent" it should not die.

    If i drag my prefab and put it on the scene it works as expected, but if i instantiate that same prefab on my scene, everytime that the same rockResistent player touches the rock it dies.

    I have no idea what to do anymore /: