Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

RPC Packaging

Discussion in 'Multiplayer' started by mannam, Apr 6, 2009.

  1. mannam

    mannam

    Joined:
    Jan 15, 2009
    Posts:
    24
    Hello,

    I'm trying to implement a network manager which packs RPC messages and send all messages by a single RPC.

    The problem is, after the receiver geting the package, I don't know how to invoke messages to the target game object. I can't use GameObject.SendMessage() because it support single parameter only. Sending RPC to local network player also doesn't work because network view can't send RPC to itself.

    Any suggestions to this problem? Or I don't need to do this because Raknet have done the packaging already?

    Thanks.