Skip to content

Instantly share code, notes, and snippets.

View ytjchan's full-sized avatar

HKJeffer ytjchan

View GitHub Profile
@ytjchan
ytjchan / main.js
Last active January 18, 2021 17:50
Puzzle & Dragons Evolution Stones Quick Peek https://greasyfork.org/en/scripts/390384-p-d戰友網希石快速預覽
// ==UserScript==
// @name P&D戰友網希石快速預覽
// @description 直接預覽寵物進化樹中所得到的希石的所用之處
// @icon https://pad.skyozora.com/images/egg.ico
// @namespace https://gist.github.com/ytjchan
// @author ytjchan
// @version 1.1.0
// @grant none
// @license WTFPL
// @include *://pad.skyozora.com/pets/*
// ==UserScript==
// @name Panda Infinite Scroll
// @description Infinite scrolling for galleries in e-hentai and exhentai
// @icon https://e-hentai.org/favicon.ico
// @namespace https://gist.github.com/ytjchan
// @author ytjchan
// @version 1.1.1
// @include *://e-hentai.org/*
// @include *://exhentai.org/*
// @exclude *://e-hentai.org/g/*
/*
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;