Skip to content

Instantly share code, notes, and snippets.

View happyerik's full-sized avatar
🎯
Focusing

Yong Zhang happyerik

🎯
Focusing
  • Hangzhou
View GitHub Profile
@yasirkula
yasirkula / ConvertTexturesToPNG.cs
Last active August 29, 2024 07:38
Convert all TGA, TIFF, PSD and BMP (customizable) Textures to PNG to reduce the project size without any quality loss in Unity
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using UnityEditor;
using UnityEngine;
using Debug = UnityEngine.Debug;
using Object = UnityEngine.Object;