Skip to content

Instantly share code, notes, and snippets.

View randalfien's full-sized avatar

Ondřej Paška randalfien

View GitHub Profile
@redannick
redannick / AppendByteVideoLoop
Last active September 18, 2019 10:12
Seamless flv looping
package
{
import flash.events.AsyncErrorEvent;
import flash.events.NetStatusEvent;
import flash.events.SecurityErrorEvent;
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.net.NetStreamAppendBytesAction;
import flash.utils.ByteArray;
@ffyhlkain
ffyhlkain / ReferenceFinder.cs
Last active July 14, 2024 14:55
A reference finder for assets in a #Unity3d project.
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using UnityEditor;
using UnityEngine;
using Debug = UnityEngine.Debug;
using Object = UnityEngine.Object;
namespace FoundationEditor.Editor.ReferenceFinder
{
@Split82
Split82 / CheckNullReferences.cs
Last active July 24, 2018 17:00
Find all null references in game objects, prefabs and scriptable objects.
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using System.Linq;
using System.Reflection;
using UnityEngine.SceneManagement;
public class CheckNullReferences {
@Split82
Split82 / UnityShadersCheatSheet.shader
Created April 17, 2018 10:07
Unity Shaders Cheat Sheet
Shader "Name" {
Properties {
_Name ("display name", Range (min, max)) = number
_Name ("display name", Float) = number
_Name ("display name", Int) = number
_Name ("display name", Color) = (number,number,number,number)
_Name ("display name", Vector) = (number,number,number,number)