Skip to content

Instantly share code, notes, and snippets.

Tenta Shigeno XakazukinX

Block or report user

Report or block XakazukinX

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@XakazukinX
XakazukinX / SerialPortProviderBase.cs
Last active Nov 27, 2019
Unityでシリアル通信を受けるためのクラス
View SerialPortProviderBase.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO.Ports;
using System.Threading;
using System.Threading.Tasks;
using UnityEditor;
using UnityEngine;
@XakazukinX
XakazukinX / BlendShapeAnimationExpoter.cs
Created May 15, 2019
VRMBlendShapeProxyからAnimationClipをはくやつ
View BlendShapeAnimationExpoter.cs
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using VRM;
public class BlendShapeAnimationExpoter : EditorWindow
{
//対象のVRMBlendShapeProxy
public VRMBlendShapeProxy proxy;
public string savePath;
@XakazukinX
XakazukinX / EasyFaceChanger.cs
Created Apr 22, 2019
アニメーションで簡易的に表情を操作するスクリプト
View EasyFaceChanger.cs
using System.Collections;
using System.Collections.Generic;
using DepthFirstScheduler;
using shigeno_EditorUtility;
using UnityEngine;
public class EasyFaceChanger : MonoBehaviour
{
[CustomLabel("対象となるAnimator")]
[SerializeField] private Animator targetAnimator;
@XakazukinX
XakazukinX / VS_honda.py
Last active Apr 19, 2019
本田と指定回数じゃんけんするやつ。
View VS_honda.py
import datetime
from requests_oauthlib import OAuth1Session
url = "https://api.twitter.com/1.1/statuses/update.json"
text = "\ #本田とじゃんけん / 私は、#本田にチョキで勝つ ✌ 1日1回 @pepsi_jpn をフォローしてじゃんけんに挑戦! 勝てば、その場で #ペプシ #ジャパンコーラ コンビニの無料引換えクーポンもらえる!計16万名様! 【4/19まで #毎日挑戦】 http://bit.ly/2IcJudY "
print ('CONSUMER_KEYを入力してください。')
input_ck = input('>>> ')
CK = input_ck
@XakazukinX
XakazukinX / VRMBlendShapeProxyFacialChanger.cs
Created Apr 14, 2019
VRMBlendShapeProxyを使って表情を変えてあげるやつです。BlendShapeの組み合わせで表情を作るタイプの子にどうぞ。
View VRMBlendShapeProxyFacialChanger.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using VRM;
using shigeno_EditorUtility;
public class VRMBlendShapeProxyFacialChanger : MonoBehaviour {
@XakazukinX
XakazukinX / NonEditableAttribute.cs
Created Apr 8, 2019
そのフィールドをインスペクタから変更できなくする自作属性
View NonEditableAttribute.cs
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
namespace shigeno_EditorUtility
{
public class NonEditableAttribute : PropertyAttribute
{
@XakazukinX
XakazukinX / NonEditableAttribute.cs
Last active Jun 5, 2019
さうんどまねーじゃー模索
View NonEditableAttribute.cs
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
namespace shigeno_EditorUtility
{
public class NonEditableAttribute : PropertyAttribute
{
@XakazukinX
XakazukinX / Description.cs
Last active Apr 8, 2019
インスペクタに説明とその記述者を残せるスクリプト
View Description.cs
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class Description : MonoBehaviour
{
[TextArea(1,6)]
public string comment = "ここにスクリプトとかの説明文を書いてください\n";
@XakazukinX
XakazukinX / CustomLabelAttribute.cs
Last active Apr 8, 2019
変数名の代わりに好きな文字列をインスペクタに表示できるカスタム属性
View CustomLabelAttribute.cs
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
namespace shigeno_EditorUtility
{
public class CustomLabelAttribute : PropertyAttribute
{
public string newFieldLabel;
@XakazukinX
XakazukinX / HumanBodyBonesList.csv
Created Mar 19, 2019
HumanBodyBonesのおなまえと値
View HumanBodyBonesList.csv
HumanBodyBonesの名前
Hips 0 
LeftUpperLeg 1
RightUpperLeg 2
LeftLowerLeg 3
RightLowerLeg 4
LeftFoot 5
RightFoot 6
Spine 7
Chest 8
You can’t perform that action at this time.