Skip to content

Instantly share code, notes, and snippets.

View tomrijnbeek's full-sized avatar
🐢
Turtles

Tom Rijnbeek tomrijnbeek

🐢
Turtles
View GitHub Profile
@tomrijnbeek
tomrijnbeek / GameObjectExtensions.cs
Last active March 21, 2024 16:27
Unity SendMessage alternative
using UnityEngine;
using System.Linq;
using System.Collections;
public static class GameObjectExtensions
{
public static void SendMessageToListeners<T>(this GameObject obj, T message)
{
foreach (var c in obj.GetInterfaceComponents<IListener<T>>())
c.Listen(message);
  • Frontpage
    • Bottom icon row
      • Fix icons
      • Fix dialog styles
    • Top row
      • Remove entirely?
      • Find a better place for quick links
        • Poll which ones are actually used?
    • Bottom (who's online) block
  • Improve header styling
@tomrijnbeek
tomrijnbeek / Program.cs
Last active September 12, 2015 20:12
Play sound with OpenAL example
using System;
using System.Collections.Generic;
using System.IO;
using OpenTK.Audio;
using OpenTK.Audio.OpenAL;
namespace PlayALSoundExample
{
class Program
{
Core
AudioBuffer
AudioData
AudioManager (singleton)
Listener (singleton)
Source
decoders
IAudioFile
OggFile
WavFile