Skip to content

Instantly share code, notes, and snippets.

View maxkcy's full-sized avatar

maxkcy

View GitHub Profile
@cbaltzer
cbaltzer / InvokeWithParameters.cs
Last active April 29, 2024 17:49
Invoke with parameters!
using UnityEngine;
using System;
using System.Reflection;
using System.Collections;
namespace UnityEngine {
public static class ExtensionMethods {
public static void Invoke(this MonoBehaviour behaviour, string method, object options, float delay) {