Skip to content

Instantly share code, notes, and snippets.

Avatar

Hristoz Stefanov SuperIzzo

View GitHub Profile
@SuperIzzo
SuperIzzo / ChromeKioskRunner.cs
Last active Jul 16, 2017
A quick and dirty hack to run chrome in Fullscreen (Kiosk) mode
View ChromeKioskRunner.cs
using System;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace ChromeKioskRunner
{
class Program
{
private const uint WM_KEYDOWN = 0x100;
private const int VK_F11 = 0x7A;
@SuperIzzo
SuperIzzo / WaterAnimation.cs
Last active Jan 4, 2016
Unity 5 simple water animation, does what the Unity 4 basic water used to, but with the new standard shader.
View WaterAnimation.cs
/** -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- **\
|* *|
* <file> WaterAnimation.cs </file> *
* *
* <copyright> *
* Copyright (C) 2015 Hristoz Stefanov *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the "Software"), *
* to deal in the Software without restriction, including without limitation *
@SuperIzzo
SuperIzzo / BitArrayTest
Created Apr 4, 2015
.Net BitArray serialization and deserialization example in Unity. A lot of room for improvement, but that's the gist.
View BitArrayTest
using UnityEngine;
using System.Collections;
public class BitArrayTest : MonoBehaviour
{
// Use this for initialization
void Start ()
{
BitArray array = new BitArray( new bool[]{true, false, true, true, false, false} );
Debug.Log( StrBits(array) );
You can’t perform that action at this time.