Skip to content

Instantly share code, notes, and snippets.

🐢
Turtles

Tom Rijnbeek tomrijnbeek

🐢
Turtles
Block or report user

Report or block tomrijnbeek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View offsite-todo.md
  • 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 Sep 12, 2015
Play sound with OpenAL example
View Program.cs
using System;
using System.Collections.Generic;
using System.IO;
using OpenTK.Audio;
using OpenTK.Audio.OpenAL;
namespace PlayALSoundExample
{
class Program
{
@tomrijnbeek
tomrijnbeek / GameObjectExtensions.cs
Last active Aug 29, 2015
Unity SendMessage alternative
View GameObjectExtensions.cs
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);
View audio library structure
Core
AudioBuffer
AudioData
AudioManager (singleton)
Listener (singleton)
Source
decoders
IAudioFile
OggFile
WavFile
You can’t perform that action at this time.