Search Unity

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:
    239
    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:
    239