Skip to content

Instantly share code, notes, and snippets.

View ytjchan's full-sized avatar

HKJeffer ytjchan

View GitHub Profile
/*
Helper script for loading all prefabs in a directory to a List
Not completely by me, found from: https://gist.github.com/HilariousCow/7f301b04c28fdf61e71f
With some modifications to return GameObjects instead of Components
*/
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.IO;