Skip to content

Instantly share code, notes, and snippets.

View tcgm's full-sized avatar

TCGM tcgm

View GitHub Profile
// Used to generate Texture Array asset
// Menu button is available in GameObject > Create Texture Array
// See CHANGEME in the file
using UnityEngine;
using UnityEditor;
public class TextureArray : MonoBehaviour {
[MenuItem("GameObject/Create Texture Array")]
static void Create()