Skip to content

Instantly share code, notes, and snippets.

@Jumplion
Jumplion / Default.colors
Created January 7, 2018 14:21
Extended default color values for Unity editor. Can be found in the Preferences\Presets folder of your Unity version.
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &1
MonoBehaviour:
m_ObjectHideFlags: 52
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 1
@Jumplion
Jumplion / Default.curves
Created January 7, 2018 14:20
Extended Default Curves for Unity. Can be found in the Preferences folder of your Unity version.
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &1
MonoBehaviour:
m_ObjectHideFlags: 52
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 1
@Jumplion
Jumplion / ObjectPool.cs
Created May 10, 2017 15:52
Object Pooling system for Dot Matrix Dodger, a mobile Android game.
/*
* Tomer Braff
* May 10, 2017
* ObjectPool.cs
*
*
* This is an ObjectPool class/system for "Dot Matrix Dodger", a mobile game for Android.
* Object Pooling systems are fairly ubiquitos in video games as they allow for recycling
* and reuse of commonly used objects in games, especially with games in more memory focuesed
* languages like C++. For example, instead of instantiating and destroying an enemy from