Quick & Easy Bad Word Filter
Bad word / profanity filter to filter usernames, chat rooms, etc. Stars out any bad words intelligently to avoid situations ...
by Brian Davis
★★★★★ star rating
Price History +
Bad word / profanity filter to filter usernames, chat rooms, etc. Stars out any bad words intelligently to avoid situations like "classic" being filtered as "cl***ic."
This covers over 1500 English bad words as well as a few in other languages.
Easy to use, even for those who don't like scripting. You just need 3 lines of code:
1. Make a slot to drag a GameObject to: public InputField textToFilter; // or another type of text
2. Paste this in start: censor = GetComponent<Censor> ();
3. And then when you want to use it: censor.CensorText(theTextToFilter);
For example: PhotonNetwork.player.NickName = censor.CensorText(username.text);
This covers over 1500 English bad words as well as a few in other languages.
Easy to use, even for those who don't like scripting. You just need 3 lines of code:
1. Make a slot to drag a GameObject to: public InputField textToFilter; // or another type of text
2. Paste this in start: censor = GetComponent<Censor> ();
3. And then when you want to use it: censor.CensorText(theTextToFilter);
For example: PhotonNetwork.player.NickName = censor.CensorText(username.text);