Player.NickName doesn't work for me

Options
Player.NickName doesn't work for me, and that's the on used in the setup tutorial! Whjat do i do?
edit: here's the code that doesn't work:
public void OnPlayerLeftRoom( Player other  )
		{
			Debug.Log( "OnPlayerLeftRoom() " + [i]other.NickName[/i] ); // seen when other disconnects
                }

Comments

  • Tobias
    Options
    What is the [/i] supposed to do?
    If it doesn't work ... how do you notice? What's happening?

    Please learn how to debug C# in general. What to do if there are coding issues. And: How to let someone know what your problem is, if that person doesn't know a thing about your project.
    I don't mean to be rude but .. that post is usually not one anyone answers. At all.
  • Screret47
    Options
    the [/i] was just me trying to make it italics, nothing more

  • Screret47
    Options
    Tobias wrote: »
    What is the [/i] supposed to do?
    If it doesn't work ... how do you notice? What's happening?

    Please learn how to debug C# in general. What to do if there are coding issues. And: How to let someone know what your problem is, if that person doesn't know a thing about your project.
    I don't mean to be rude but .. that post is usually not one anyone answers. At all.

    I was trying to utilize the original, unedited tutorial project that photon is supplying in the asset pakage. it doesn't work because of that line.