Advertisement
Guest User

Oh Lord Wont You Buy Me A Non Blurry Font

a guest
Jul 27th, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.28 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4.  
  5. [ExecuteInEditMode]
  6. public class UnityHatesCrispFonts : MonoBehaviour {
  7.  
  8.     public List<Font> targets;
  9.  
  10.     void Awake(){
  11.         targets.ForEach(f => f.material.mainTexture.filterMode = FilterMode.Point);
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement