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 |
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; |
using InternalRealtimeCSG; | |
using RealtimeCSG.Components; | |
using UnityEditor; | |
using UnityEditor.Build; | |
using UnityEditor.Build.Reporting; | |
using UnityEngine; | |
/// <summary> | |
/// Created: 03-19-2019 | |
/// Updated: |
/* | |
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 |
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 |
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> |
#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 |
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; |
#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; |
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 |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Text; | |
using UnityEditor; | |
using UnityEngine; | |
internal class WwiseIDConverter { | |
private enum State { | |
Init, |