Created
November 26, 2019 05:43
-
-
Save empika/c32d460930c03059233b06f9d36036bf to your computer and use it in GitHub Desktop.
SetFontPixelly.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SetFontPixelly : MonoBehaviour | |
{ | |
public List<Font> Fonts = new List<Font>(); | |
public void Start() | |
{ | |
foreach (Font font in Fonts) | |
{ | |
font.material.mainTexture.filterMode = FilterMode.Point; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment