title: Is there any way to change FilterMode of custom Sprite in Unity?
body: <p>I'm making 2D pixel graphic game and want to use custom Sprite using Texture2D class.
  So I used code like this:</p>
  
  <pre><code>Sprite.Create(texture, new Rect(0, 0, size, size), new Vector2(0.5f, 0.5f), 32)
  </code></pre>
  
  <p>But this created sprite has FilterMode "Bilinear". I want to change it to "Point (no filter)".
  Changing FilterMode in inspector is very easy but I don't know how to change it in runtime. Is there any way to solve this problem?</p>