- Home /
USER_ENTER_ROOM event is not working.
I am working on unity with smartfox integration for my multi player cards game. Now I am creating rooms to join to play the game. Room is created and user is joined in the room, the problem is now I have to call USER_ENTER_ROOM event to confirm that user is entered in the room and no room creation error occurred. But this event is not givin the Logs. I have tried this
public void OnUserEnterRoom(BaseEvent evt){ User user = (User)evt.Params["user"]; Room room = (Room)evt.Params["room"]; Debug.Log("User: " + user.Name + " has just joined Room: " + room.Name); }
and I called this event in my awake funtion like this. sfs.AddEventListener(SFSEvent.USER_ENTER_ROOM, OnUserEnterRoom);
According to my r&d it should work but its not. Please help Thanks
Your answer

Follow this Question
Related Questions
SmartFoxServer or any multiplayer system installation 0 Answers
Distribute terrain in zones 3 Answers
RPC called by OnPhotonPlayerConnected doesn't work 2 Answers
Multiple Cars not working 1 Answer
Multiplayer Support for Android 1 Answer