Skip to content

Instantly share code, notes, and snippets.

View gist:7cd912457d92443c860c5fdc6bddd46d
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.IO;
using System.Xml;
public class ContentManager : MonoBehaviour
{
public static ContentManager Instance;
View gist:68889515d5eb309b59cc77b335e6668f
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MillRotation : MonoBehaviour
{
public GameObject gameObject;
private Vector3 originalEuler;
public bool X;
View mail check voor kevin
using System.Text.RegularExpressions;
public static class MailString
{
static Regex ValidEmailRegex = CreateValidEmailRegex();
private static Regex CreateValidEmailRegex ()
{
string validEmailPattern = @"^(?!\.)(""([^""\r\\]|\\[""\r\\])*""|" + @"([-a-z0-9!#$%&'*+/=?^_`{|}~]|(?<!\.)\.)*)(?<!\.)" + @"@[a-z0-9][\w\.-]*[a-z0-9]\.[a-z][a-z\.]*[a-z]$";
return new Regex( validEmailPattern, RegexOptions.IgnoreCase );
@ted80
ted80 / gist:c2d0cf0445d71bc49759c731530a7854
Created May 11, 2017
Charcoal effect voor je boi thomas
View gist:c2d0cf0445d71bc49759c731530a7854
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CharcoalEffect : MonoBehaviour
{
public CharcoalGroup[] groups;
private int groupsLength;
private float time;
View Fire Animation Unity
using UnityEngine;
using System.Collections;
public class FireAnimation : MonoBehaviour
{
private Vector3 originalPosition;
public Light light;
public float baseLight = 0.5f;
public float randLight = 1f;
public float size = 0.15f;
View UserInputBase.cs
using UnityEngine;
using System.Collections;
public class UserInputBase : MonoBehaviour
{
public virtual void OnStandbyScreen()
{
}
View UserInputKinect.cs
using UnityEngine;
using System.Collections;
public class UserInputKinect : UserInputBase
{
public override void OnStandbyScreen ()
{
}
View gist:5de9e75d833cf26ba51009a122f335d1
{
"status": "OK",
"message": "Team data",
"data": [
{
"device_id": 0,
"users": [
{
"firstname": "user_0_0_A",
"lastname": "user_0_0_B",
View gist:276e03156ee85b52835b465954527645
using UnityEngine;
using System.Collections;
public class LightAnimation : MonoBehaviour
{
public Light light;
[Range(0.1f, 5f)]
public float baseIntensity = 3.5f;
View gist:77f2e50d2c639195e00af1af6d15c4d1
using UnityEngine;
using System.Collections;
public class WaterAnimation : MonoBehaviour
{
public float scrollSpeed = 0.5F;
public Renderer rend;
void Start()
{
rend = GetComponent<Renderer>();