Skip to content

Instantly share code, notes, and snippets.

View Sighyu's full-sized avatar
🎯
Focusing

Sighyu Sighyu

🎯
Focusing
View GitHub Profile
@Slaynash
Slaynash / QuickModeUtils.cs
Last active February 7, 2022 21:17
[VRChat] QuickMod Tab sample
public static class QuickModeUtils
{
public static (Transform tab, Transform menu) CreateNotificationTab(string name, string text, Color color, string imageDataBase64 = null)
{
List<GameObject> existingTabs = Resources.FindObjectsOfTypeAll<MonoBehaviourPublicObCoGaCoObCoObCoUnique>()[0].field_Public_ArrayOf_GameObject_0.ToList();
QuickMenu quickMenu = Resources.FindObjectsOfTypeAll<QuickMenu>()[0];
// Tab
<script src="jszip.min.js"></script>
<script src="FileSaver.min.js"></script>
<script src="https://raw.githubusercontent.com/Stuk/jszip/master/dist/jszip.min.js"></script>
<script src="https://raw.githubusercontent.com/eligrey/FileSaver.js/master/FileSaver.min.js"></script>
(function (main, modules) {
'use strict';
var zip = new JSZip();
for (var property in modules) {