Code: Select all
List<UserVariable> userVars = new List<UserVariable>();
userVars.Add( new SFSUserVariable("localRobotId",null));
smartFox.Send ( new SetUserVariablesRequest(userVars) );
However, I don't observe OnUserVarsUpdate event when I clear variable this way. Is this normal? Do I have to set variable to "" instead of null to notify other players?