Skip to content

Instantly share code, notes, and snippets.

View kumorikuma's full-sized avatar

Francis Ge kumorikuma

View GitHub Profile
@alexanderameye
alexanderameye / CircularMenu.cs
Last active April 28, 2025 08:27
Circular menu for the Unity Editor
/*
MIT License
Copyright (c) [year] [fullname]
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
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@Dreezn
Dreezn / ClipStartEndInMixer.cs
Last active August 12, 2024 07:36
Getting the Clip Start End Times through to the mixer
/* 1 - Overriding CreateTrackMixer in the CustomTransformationTrack class,
getting the start & end times for each clip, and passing them to the custom clip class. */
//[Omitted...]
public class CustomTransformationTrack : TrackAsset
{
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)
{
foreach (var clip in GetClips())
{