Advertisement
Guest User

super secret codez

a guest
Jul 29th, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. public void StepAnimatedName()
  2. {
  3.     if (this.aniNames.Length > 1)
  4.     {
  5.         if (this.aniNameIndex > (this.aniNames.Length - 1))
  6.         {
  7.             this.aniNameIndex = 0;
  8.         }
  9.         string str = this.aniNames[this.aniNameIndex];
  10.         LoginFengKAI.player.name = str;
  11.         Hashtable propertiesToSet = new Hashtable();
  12.         propertiesToSet.Add(PhotonPlayerProperty.name, str);
  13.         PhotonNetwork.player.SetCustomProperties(propertiesToSet);
  14.         this.aniNameIndex++;
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement