This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| #!/bin/bash | |
| # git-cleanup-repo | |
| # | |
| # Author: Rob Miller <rob@bigfish.co.uk> | |
| # Adapted from the original by Yorick Sijsling | |
| git checkout master &> /dev/null | |
| # Make sure we're working with the most up-to-date version of master. | |
| git fetch |
| #ifndef UNITY_CG_INCLUDED | |
| #define UNITY_CG_INCLUDED | |
| #include "UnityShaderVariables.cginc" | |
| #if SHADER_API_FLASH | |
| uniform float4 unity_NPOTScale; |
| using UnityEngine; | |
| using System.Collections; | |
| [System.Serializable] | |
| public class CoroutineTimer | |
| { | |
| //public fields | |
| public float TimerDuration, TimerRandomScaleFactor, TimerStartDelay; | |
| public bool Repeats; |
This is a compilation of various open-source Unity plugins, codebases, or utility scripts that may aid in expediting the development process.
"ProbePolisher is a Unity Editor plugin for editing light probes. It works both on Unity Basic (free) and Unity Pro."
| // Adds a menu item for easy creation of your ScriptableObject types | |
| // Usage: Right click in project view -> Create -> ScriptableObject... -> Select your type | |
| // It will land in the root of your assets folder with the same name as your class | |
| // Freya Holmér - webmaster@acegikmo.com | |
| using UnityEngine; | |
| using UnityEditor; | |
| using System.Reflection; | |
| using System.Linq; | |
| using System.IO; |
| using UnityEngine; | |
| #if UNITY_EDITOR | |
| using UnityEditor; | |
| using UnityEditorInternal; | |
| #endif | |
| public class ReorderableListAttribute : PropertyAttribute {} |
| using UnityEngine; | |
| public static class VectorExtensions { | |
| public static Vector2 xy(this Vector3 v3) | |
| { | |
| return new Vector2(v3.x, v3.y); | |
| } | |
| public static Vector2 xz(this Vector3 v3) | |
| { |
| /* | |
| MIT License | |
| Copyright (c) 2016 Jesse Ringrose | |
| 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 the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| using System; | |
| using UnityEditor; | |
| [InitializeOnLoad] | |
| public class ExecutionOrderManager : Editor | |
| { | |
| static ExecutionOrderManager() | |
| { | |
| foreach (MonoScript monoScript in MonoImporter.GetAllRuntimeMonoScripts()) | |
| { |