Skip to content

Instantly share code, notes, and snippets.

C.J. Kimberlin cjddmut

View GitHub Profile
@cjddmut
cjddmut / ValueTypeLists.cs
Last active Feb 11, 2019
C# struct based lists that can be created, passed around, and released without references or garbage.
View ValueTypeLists.cs
/*
* Created by Galvanic Games (http://galvanicgames.com)
*
* The MIT License (MIT)
*
* Copyright (c) 2019
*
* 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
@cjddmut
cjddmut / ColorHSV.cs
Last active Sep 3, 2018
A HSV Color struct for Unity3D. Allows conversion between UnityEngine.Color and UnityEngine.Color32.
View ColorHSV.cs
/*
* Created by C.J. Kimberlin (http://cjkimberlin.com)
*
* The MIT License (MIT)
*
* Copyright (c) 2015
*
* 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
@cjddmut
cjddmut / EasingFunctions.cs
Last active Apr 22, 2019
Easing Functions for Unity3D
View EasingFunctions.cs
/*
* Created by C.J. Kimberlin
*
* The MIT License (MIT)
*
* Copyright (c) 2019
*
* 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
@cjddmut
cjddmut / DelegateWrappers.cs
Last active Nov 26, 2018
Wrapper struct for delegates. Helps avoid mistakes like '=' when '+=' was intended. Also checks for null automatically before invoke.
View DelegateWrappers.cs
/*
* Created by C.J. Kimberlin (http://cjkimberlin.com)
*
* The MIT License (MIT)
*
* Copyright (c) 2014
*
* 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
You can’t perform that action at this time.