Skip to content

Instantly share code, notes, and snippets.

View Pandapip1's full-sized avatar

Gavin John Pandapip1

View GitHub Profile
@Pandapip1
Pandapip1 / CooldownButton.cs
Last active July 4, 2023 11:12 — forked from amsam0/CooldownButton.cs
CooldownButton for Among Us mods (with example)
// Credits to https://gist.github.com/gabriel-nsiqueira/827dea0a1cdc2210db6f9a045ec4ce0a and https://gist.github.com/naturecodevoid/1c61786e6a95d7d093f495b6e67aad29 for the original code.
using HarmonyLib;
using Reactor.Extensions;
using Reactor.Unstrip;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Reactor.Button