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
// This was made by aaro4130 on the Unity forums. Thanks boss! | |
// It's been optimized and slimmed down for the purpose of loading Quake 3 TGA textures from memory streams. | |
using System; | |
using System.IO; | |
using UnityEngine; | |
public static class TGALoader | |
{ | |