Example #1
0
 static public void Set(Texture texture)
 {
     if (instance != null && instance.mUITexture)
     {
         instance.mUITexture.mainTexture = texture;
         instance.mUITexture.MakePixelPerfect();
         instance.Update();
     }
 }