Skip to content

Instantly share code, notes, and snippets.

Avatar
🎮
Developing NekoSuki! ~ Kitty Love Adventure 🐈❤️

Andrei Müller (Andy Miira) andreiagmu

🎮
Developing NekoSuki! ~ Kitty Love Adventure 🐈❤️
View GitHub Profile
@Janooba
Janooba / Extensions.cs
Created Jun 14, 2020
Extensions needed for CSGAutoColliderAddBuildProcessor.cs
View Extensions.cs
public static class UnityExtensions
{
public static Transform FindDeepChild(this Transform aParent, string aName)
{
Queue<Transform> queue = new Queue<Transform>();
queue.Enqueue(aParent);
while (queue.Count > 0)
{
var c = queue.Dequeue();
if (c.name == aName) return c;
View CSGAutoColliderAddBuildProcessor.cs
using InternalRealtimeCSG;
using RealtimeCSG.Components;
using UnityEditor;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEngine;
/// <summary>
/// Created: 03-19-2019
/// Updated:
@grapefrukt
grapefrukt / URPPostProcessStripper.cs
Last active Oct 29, 2020
Strips all post-processing shaders and related assets from Unity builds using URP
View URPPostProcessStripper.cs
/*
Copyright 2020 Martin Jonasson
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 furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be
@jeffvella
jeffvella / AddressablesLoader.cs
Last active Dec 23, 2020
AddressablesLoader
View AddressablesLoader.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement.AsyncOperations;
using UnityEngine.ResourceManagement.ResourceLocations;
using Object = UnityEngine.Object;
public class AddressableLabels
@stonstad
stonstad / AnimatorExtensions.cs
Last active Sep 30, 2020
Unity Animation State Start and Stop Notifications
View AnimatorExtensions.cs
using System;
using System.Reflection;
using UnityEngine;
public static class AnimatorExtensions
{
/// <summary>Gets an instance method with single argument of type <typeparamref
/// name="TArg0"/> and return type of <typeparamref name="TReturn"/> from <typeparamref
/// name="TThis"/> and compiles it into a fast open delegate.</summary>
/// <typeparam name="TThis">Type of the class owning the instance method.</typeparam>
@sebas77
sebas77 / BurstHelper.cs
Last active Feb 8, 2020
Code to compile c# actions with Burst and use them outside the job system. Attention: it's a hack, use just for experiments only
View BurstHelper.cs
#if UNITY_BURST_FEATURE_FUNCPTR
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.InteropServices;
using Unity.Burst;
namespace BurstHelper
View DistanceJoint3D.cs
using UnityEngine;
public class DistanceJoint3D : MonoBehaviour {
public Transform ConnectedRigidbody;
public bool DetermineDistanceOnStart = true;
public float Distance;
public float Spring = 0.1f;
public float Damper = 5f;
@naelstrof
naelstrof / CopyAvatarData.cs
Created Apr 8, 2018
Copies all avatar components and children to another object. Such as Dynamic Bones, Guns, Animations, etc.
View CopyAvatarData.cs
#if UNITY_EDITOR
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Text.RegularExpressions;
public class CopyAvatarData : ScriptableWizard {
public GameObject from;
public GameObject to;
@SrPhilippe
SrPhilippe / vrchat-dynamic-bone-config.md
Last active Feb 7, 2021
Nice configs for dynamic bone to use on VRChat
View vrchat-dynamic-bone-config.md

Hair

Normal Long Hair Other
name value name value name value
damping 0.2 damping damping 0.025
elasticity 0.05 elasticity elasticity 0.008
stiffness 0.8 stiffness stiffness 0.85
inert 0 inert inert 0.85

Breasts

@StewMcc
StewMcc / WwiseIDConverter.cs
Created Dec 21, 2017 — forked from wavebit/WwiseIDConverter.cs
Wwise ID Converter #Wwise
View WwiseIDConverter.cs
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using UnityEditor;
using UnityEngine;
internal class WwiseIDConverter {
private enum State {
Init,