Skip to content

Instantly share code, notes, and snippets.


Greg Borenstein atduskgreg

View GitHub Profile
View possible_classes.txt
11.252J Computer Games and Simulations for Investigation and Education
CMS.809 Transmedia Storytelling: Modern Science Fiction
MAS.864 The Nature of Mathematical Modeling
View gist:8498097
NSOpenGLPixelFormatAttribute attr[] =
NSOpenGLPFADepthSize, 24,
NSOpenGLPFASampleBuffers, 1,
NSOpenGLPFASamples, 4,
(NSOpenGLPixelFormatAttribute) 0
View gist:0389c6cbd6fb09180464
using UnityEngine;
using System.Collections;
public class interact_boulder : MonoBehaviour {
public GUISkin boxText;
public bool showBox;
public float GUIScreenWidth = Screen.width/2;
public float GUIScreenHeight = Screen.height/2;
public float GUIScreenToolWidth = Screen.width - 5;