Skip to content

Instantly share code, notes, and snippets.

View ratozumbi's full-sized avatar

Bruno Willian Andrade ratozumbi

View GitHub Profile
@ratozumbi
ratozumbi / PlayOnEditor.cs
Created May 10, 2019 18:53
Preview Video on Unity Editor
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.Video;
//Attach this script to a GameObject
[ExecuteInEditMode]
@armornick
armornick / openicon.c
Created August 23, 2012 08:47
Draw an Image with SDL2
#include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#define WIDTH 800
#define HEIGHT 600
#define IMG_PATH "exit.png"
int main (int argc, char *argv[]) {