Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void StepAnimatedName()
- {
- if (this.aniNames.Length > 1)
- {
- if (this.aniNameIndex > (this.aniNames.Length - 1))
- {
- this.aniNameIndex = 0;
- }
- string str = this.aniNames[this.aniNameIndex];
- LoginFengKAI.player.name = str;
- Hashtable propertiesToSet = new Hashtable();
- propertiesToSet.Add(PhotonPlayerProperty.name, str);
- PhotonNetwork.player.SetCustomProperties(propertiesToSet);
- this.aniNameIndex++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement