Fusion spawn different gameobject

In spawn a gameobject,I want to spawn A by my side, and others clients I want them see the spawned thing is B. How can I do this by runner.Spawn() .

Answers

  • Hi @zybillyjay ,


    One way to make this is to just spawn the same NetworkObject but with different child visuals.

    You can choose which one to enable based on the StateAuthority, InputAuthority, or other flag set on the State of the NO. 

    On the Spawn() callback you can run this check and enable the proper visuals.

    --

    Ramon Melo

    Photon Fusion Team