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; | |
using System.IO; | |
using System.Collections.Generic; | |
using System.Linq; | |
using BepInEx; | |
using UniVRM10; | |
using GameNetcodeStuff; | |
using UniGLTF; | |
using UnityEngine; | |
using UnityEngine.Rendering; |
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; | |
using System.Collections.Generic; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
using UnityEngine; | |
public class IFacialMocapReciever : MonoBehaviour | |
{ |
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 UnityEngine; | |
public class TransformSlider : MonoBehaviour { | |
[Min(0.01f)] | |
public float length = 0.1f; | |
float totalOffset; | |
public float scale = 0.05f; | |
public AnimationCurve scaleCurve = AnimationCurve.Linear(0f,1f,1f,0.5f); | |
public Vector3 gravity; | |
[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
using UnityEngine; | |
using UnityEditor; | |
[CustomEditor(typeof(ScriptableObjectWithColor))] | |
public class ScriptableObjectWithColorEditor : Editor | |
{ | |
public override Texture2D RenderStaticPreview(string assetPath, Object[] subAssets, int width, int height) | |
{ | |
ScriptableObjectWithColor targetObj = (ScriptableObjectWithColor)target; | |
if (targetObj == null) |
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
bl_info = { | |
"name": "VRM Swap Bone Names", | |
"blender": (3, 4, 1), | |
"category": "Object", | |
} | |
import bpy | |
class VRMSwapBoneNamesOperator(bpy.types.Operator): | |
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 UnityEngine; | |
using System; | |
public class DesktopCapture : MonoBehaviour | |
{ | |
[SerializeField] | |
uDesktopDuplication.Texture uddTexture; | |
public Light spotLight; | |
[Tooltip("Power of 2 to use for the texture size")] |