joel

Hello I'm having an error on line 10...." error CS1729: The type `ExitGames.Client.Photon.Chat.ChatClient' does not contain a constructor that takes `1' arguments" public void Start() { DontDestroyOnLoad(gameObject); this.ChatPanel.gameObject.SetActive(true); Application.runInBackground = true; // this must run in background or it will drop connection if not focussed. if (string.IsNullOrEmpty(UserName)) { UserName = "user" + Environment.TickCount%99; //made-up username } line 10:) this.chatClient = new ChatClient(this); string chatAppId = ChatSettings.Instance.AppId; this.chatClient.Connect(chatAppId, "1.0", new AuthenticationValues(UserName)); this.ChannelToggleToInstantiate.gameObject.SetActive(false); Debug.Log("Connecting as: " + UserName); // //Start chat EternalNamePicker EObj = new EternalNamePicker(); EObj.StartChat (); } Please help me on this issue

About

Username
joel
Joined
Visits
6
Last Active
Roles
Registered
Points
2
Badges
1

Activity

  • Not much happening here, yet.