Search Unity

Replacing [RPC] in 2019.3

Discussion in 'Multiplayer' started by laurentlavigne, Apr 6, 2020.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,362
    upload_2020-4-6_2-32-27.png

    I see that 2017 multiplayer turned into Unet then Unet was murdered and replaced by ... Multiplayer, that was short lived.

    Now let's sit for a moment and stretch our imagination : imagine that I don't want to learn yet another API-on-death-row... what's the fastest, copy paste, way to replace a bunch of [RPC] 2019.3?
     
  2. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    611
    I'd say mirror. Is has the most 1:1 API to UNET.
     
    laurentlavigne likes this.
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,362
    yeah, mirror is nice but the game is not using Unet, it's using the legacy thing before Unet.
     
  4. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    611
    Oops. My bad. Idk about any replacement for the legacier API :(
     
  5. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,362
    no biggy, it's not everyday that someone is brave enough to upgrade a project that old.

    I see that PUN 2 now has [RPCPun], I wonder if that'll do

    brave: