Search Unity

What is the analog of "Networkview.ismine" method in unityscript?

Discussion in 'Scripting' started by Kamlesh-Singh-Bisht, Apr 22, 2019.

  1. Kamlesh-Singh-Bisht

    Kamlesh-Singh-Bisht

    Joined:
    Mar 22, 2019
    Posts:
    1
    The problem is when I create a server and connect to it, two players have appeared. When I try to move one of them, both players move simultaneously in the same direction.

    All the scripts are written in unityscript, so I need analog of Network.isMine method in unityscript, which returns boolean

    Does someone know this?
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847