Skip to content

Instantly share code, notes, and snippets.

31 / gist:3781b066e16bf538f170
Last active January 16, 2019 00:50
OpenGL functions by object
View gist:3781b066e16bf538f170
31 / ComponentExtensions.cs
Last active August 29, 2015 14:05
Unity: Static-checked message broadcasting component extensions
View ComponentExtensions.cs
using System;
using System.Linq.Expressions;
using System.Reflection;
using UnityEngine;
public static class ComponentExtensions
public static void BroadcastTypedMessage<T>(
this Component c,
Expression<Func<T, Action>> method,