Skip to content

Instantly share code, notes, and snippets.

@alexmalyutindev
alexmalyutindev / bake_morph_textures.py
Last active February 21, 2024 04:36
Vertex animation baker for Blender.
# Source
# Vertex animation textures, beanbags and boneless animations
# by Martin Donald
# https://www.youtube.com/watch?v=NQ5Dllbxbz4
import bpy
import bmesh
import mathutils
@afolk2
afolk2 / TextMeshProExtensions
Created November 20, 2018 05:48
Simple TextMeshProUGUI extensions for character color changing
using UnityEngine;
using TMPro;
public static class TextMeshProExtensions
{
/// <summary>
/// Changes the color of a single character to a specified color.
/// </summary>
/// <param name="textMeshProUGUI">The TextMeshProUGUI that contains the text.</param>
@tomkail
tomkail / ExtendedScriptableObjectDrawer.cs
Last active September 17, 2024 08:43
Displays the fields of a ScriptableObject in the inspector
// Developed by Tom Kail at Inkle
// Released under the MIT Licence as held at https://opensource.org/licenses/MIT
// Must be placed within a folder named "Editor"
using System;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;