- 日時
2023-07-09
- 作
- バージョン
2023.2
- URL
- depth
1
2023-07-09
2023.2
1
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
public class DBController : MonoBehaviour | |
{ | |
public Transform[] Bones; | |
[Range(0f, 1f)] public float Damping, Elasticity, Stiffness, Inert; | |
public float Radius; | |
public AnimationCurve DanpingDistrib, ElasticityDistrib, StiffnessDistrib, InertDistrib, RadiusDistrib; |
// | |
// Unity Restart Editor On Stop | |
// @sh_akira | |
// Put this file to Assets/Editor/ | |
// | |
using UnityEngine; | |
using UnityEditor; | |
[InitializeOnLoad] |
// 自由に使ってどうぞ | |
// [Edit]フォルダに入れてメニューの[Animation Clip Smoother]-[Open]を選択するとウィンドウが表示される。 | |
// 編集するAnimationClipを選択後、編集するカーブを選択して[実行]ボタンを押す。 | |
using UnityEditor; | |
using UnityEngine; | |
public class AnimationClipSmoother : EditorWindow | |
{ | |
/// <summary> |
xcargs = "" | |
xcargs += " IDEBuildOperationMaxNumberOfConcurrentCompileTasks=16" | |
xcargs += " GCC_GENERATE_DEBUGGING_SYMBOLS=NO DEBUG_INFORMATION_FORMAT=dwarf" | |
xcargs += " ONLY_ACTIVE_ARCH=YES VALID_ARCHS=arm64" | |
xcargs += " CC=\"ccacheclang\" GCC_PRECOMPILE_PREFIX_HEADER=NO" if File.exist?("/usr/local/bin/ccacheclang") |
// usage: | |
// [SerializeField] [ProgressBar] float _sample; | |
// [SerializeField] [ProgressBar("hoge")] float _sample; | |
// [SerializeField] [ProgressBar(0f, 1f)] float _sample; | |
// [SerializeField] [ProgressBar(0f, 1f, "hoge")] float _sample; | |
namespace Sample | |
{ | |
using System; | |
using UnityEngine; |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
namespace akr.Unity.Editor.Animation | |
{ | |
public class AnimationSplitter : EditorWindow | |
{ |
using System; | |
using System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
using VRM; | |
public class BlendShapeAnimationExpoter : EditorWindow | |
{ | |
//対象のVRMBlendShapeProxy | |
public VRMBlendShapeProxy proxy; | |
public string savePath; |
『CopyVRMSettings.cs』は、『UniVRMExtensions』へ統合しました。
https://pokemori.booth.pm/items/1788660
#!/usr/bin/env ruby - | |
# coding: utf-8 | |
# Premaid AI - .pma file analyzer. | |
SERVO_OFFSET = 7500 | |
class PMAFile | |
def initialize | |
@buf = "" |