『CopyVRMSettings.cs』は、『UniVRMExtensions』へ統合しました。
https://pokemori.booth.pm/items/1788660
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Assets内の全MaterialのShaderを一括で置換するEditor拡張 | |
* 使い方 | |
* 1.Editorディレクトリ配下にScriptを配置 | |
* 2.AssetsにShaderReplaceが追加されるので、それを選択するとWindowsが開く | |
* 3.Beforeに置換前のShader、Afterに置換後のShaderを選択 | |
* 4.Replaceボタンを押すと全部のMaterialでShaderを置換 | |
*/ | |
using System.Linq; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
/// <summary>A Kalman filter implementation for <c>float</c> values.</summary> | |
public class KalmanFilterFloat { | |
//----------------------------------------------------------------------------------------- | |
// Constants: | |
//----------------------------------------------------------------------------------------- | |
public const float DEFAULT_Q = 0.000001f; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using UnityEditorInternal; | |
using System.Linq; | |
using System.Reflection; | |
//オブジェクトのコンポーネントを別の奴にコピーする | |
public class CopyTransformComponents : ScriptableWizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEngine; | |
namespace uTools | |
{ | |
public class BlendShapeBlink : MonoBehaviour | |
{ | |
[System.Serializable] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Rainbow shader with lots of adjustable properties! | |
Shader "_Shaders/Rainbow" { | |
Properties { | |
_Saturation ("Saturation", Range(0.0, 1.0)) = 0.8 | |
_Luminosity ("Luminosity", Range(0.0, 1.0)) = 0.5 | |
_Spread ("Spread", Range(0.5, 10.0)) = 3.8 | |
_Speed ("Speed", Range(-10.0, 10.0)) = 2.4 | |
_TimeOffset ("TimeOffset", Range(0.0, 6.28318531)) = 0.0 | |
} |