Skip to content

Instantly share code, notes, and snippets.

@FleshMobProductions
FleshMobProductions / SpringMotion.cs
Last active September 9, 2024 09:35
Ryan Juckett's Code for Damped Springs (https://www.ryanjuckett.com/damped-springs/) implemented in C# using UnityEngine Mathf methods
using UnityEngine;
namespace FMPUtils.Extensions
{
public static class SpringMotion
{
// Reference video:
// https://www.youtube.com/watch?v=bFOAipGJGA0
// Instant "Game Feel" Tutorial - Secrets of Springs Explained (by Toyful Games)
// The channel LlamAcademy also made an adaption of the concept for Unity,
@vanifatovvlad
vanifatovvlad / ScriptableObject Creator for Unity.md
Last active October 2, 2024 05:48
ScriptableObject Creator

ScriptableObject Creator for Unity

A handy little ScriptableObject creator which eliminates the need for those annoying [CreateAssetMenu] attributes which are a nightmare to maintain and navigate.

Made with Odin Inspector

ScriptablObject Creator

The ScriptableObject creator has been originally made by Bjarke. Published on Odin Community Made Tools.

Improvements by VladV:

@JohannesMP
JohannesMP / UIBlur.shader
Last active October 26, 2024 07:16
UI.Image Blur Shader with layering and masking support
Shader "Custom/UIBlur"
{
Properties
{
[Toggle(IS_BLUR_ALPHA_MASKED)] _IsAlphaMasked("Image Alpha Masks Blur", Float) = 1
[Toggle(IS_SPRITE_VISIBLE)] _IsSpriteVisible("Show Image", Float) = 1
// Internally enforced by MAX_RADIUS
_Radius("Blur Radius", Range(0, 64)) = 1