Skip to content

Instantly share code, notes, and snippets.

@SAM-tak
SAM-tak / RichText.cs
Last active February 27, 2024 12:56
Unity Rich Text mark-up helper
using System;
using System.Text;
using UnityEngine;
/// <summary>
/// Rich text.
/// </summary>
/// <code>
/// Example :
/// Debug.Log(RichText.sb.Bold(sb => sb.Red("blahblah")).Ln().Small(sb => sb.Grey("foobar").Space().Color(0x443322FF, "hogehoge")), gameObject);
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.IO;
/// <summary>
/// Editor Extension : listing assets has missing link up
/// </summary>
bl_info = {
"name": "Stash/Flip All Action",
"author": "SAMtak",
"version": (1, 0),
"blender": (2, 80, 0),
"location": "",
"description": "Stash All Action",
"warning": "",
"support": "TESTING",
"wiki_url": "",
@SAM-tak
SAM-tak / WorldSpaceBlender.cs
Last active July 7, 2025 05:05
Unity World Space Blending Animation Job
using System.Collections.Generic;
using Unity.Burst;
using Unity.Collections;
using UnityEngine;
using UnityEngine.Animations;
using UnityEngine.Playables;
public class WorldSpaceBlender : MonoBehaviour
{
public AvatarMask targetMask;