Publisher | Brian Davis |
---|---|
File size | 54.70kB |
Number of files | 5 |
Latest version | 1 |
Latest release date | 2017-05-31 09:47:23 |
First release date | 2017-05-31 09:47:23 |
Supported Unity versions | 2018.4.2 or higher |
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);