Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Is there a way to know what NetworkPlayer an RPC is received from?

Discussion in 'Scripting' started by BmxGrilled, Sep 22, 2014.

  1. BmxGrilled

    BmxGrilled

    Joined:
    Jan 27, 2014
    Posts:
    238
    Ok, this is a relatively simple idea, mainly for authoritative server design, is there a way to know who an RPC signal comes from? e.g. the NetworkPlayer object. (pre-Unity5 question)
     
  2. KelsoMRK

    KelsoMRK

    Joined:
    Jul 18, 2010
    Posts:
    5,539
  3. BmxGrilled

    BmxGrilled

    Joined:
    Jan 27, 2014
    Posts:
    238