Skip to content

Instantly share code, notes, and snippets.

izm neon-izm

Block or report user

Report or block neon-izm

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
@neon-izm
neon-izm / CopyVRMSettings.cs
Created Jul 17, 2019 — forked from esperecyan/CopyVRMSettings.cs
『CopyVRMSettings.cs』 セットアップ済みのVRMプレハブから、正規化直後のVRMプレハブへ、UniVRMのコンポーネントの設定をコピーします。「Editor」という名前のフォルダをAssets内に作成し、その中にこのスクリプトを保存すると、上部メニューに次の項目が追加されます: VRM ▸ UniVRM ▸ CopyVRMSetting.cs / Copies the settings of UniVRM components from a set-up VRM prefab to a just normalized VRM prefab. You create the folder named “Editor” in Assets and save this scr…
View CopyVRMSettings.cs
using System;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEditor;
using UnityEditorInternal;
using UniGLTF;
View CopyMaterialParameter.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace UnityChan
{
public class CopyMaterialParameter : EditorWindow
{
[SerializeField]
@neon-izm
neon-izm / NameGenerationWindow.cs
Created Aug 10, 2018 — forked from kankikuchi/NameGenerationWindow.cs
日本語から変数や関数名を生成するエディタ拡張【Unity】【エディタ拡張】
View NameGenerationWindow.cs
// NameGenerationWindow.cs
// http://kan-kikuchi.hatenablog.com/entry/NameGenerationWindow
//
// Created by kan.kikuchi on 2017.12.10.
using UnityEditor;
using UnityEngine;
using UnityEngine.Networking;
using System;
using System.Collections;
@neon-izm
neon-izm / BuildingOpenPose.md
Last active Oct 28, 2017 — forked from anonymous/BuildingOpenPose.md
202commit(2017/10/26)時のWindows10(x64) GTX1060環境でのインストール
View BuildingOpenPose.md
View notes-unityinjector-and-component.md

UnityInjectorの動作メモ

Unityを分かっていない人(主に筆者)向けのメモです

AddModsSliderへのプルリクエストの検討時にCM3D2-01さんから教わりました。

UnityInjectorの動作のおさらい

  • ReiPatcherでUnityInjector.Patcherを適用すると
View opencv3.0.0_build_vs2013_x64.bat
:: setting of the environment variables
set path=%PATH%;C:\Program Files (x86)\CMake\bin;
set SOURCE_DIR=%~dp0
set BUILD_DIR=%SOURCE_DIR%\build
set INSTALL_DIR=%BUILD_DIR%\install
set VC_VERSION_NUM=12
set VCVARSALL_BAT="C:\Program Files (x86)\Microsoft Visual Studio %VC_VERSION_NUM%.0\VC\vcvarsall.bat"
set ARCH=amd64
set GENERATOR_NAME=Visual Studio %VC_VERSION_NUM% Win64
call %VCVARSALL_BAT% %ARCH%
View opencv3.0-rc1_build_vs2012_x64.bat
:: setting of the environment variables
set SOURCE_DIR=%~dp0
set BUILD_DIR=%SOURCE_DIR%\build
set INSTALL_DIR=%BUILD_DIR%\install
set VC_VERSION_NUM=11
set VCVARSALL_BAT="C:\Program Files (x86)\Microsoft Visual Studio %VC_VERSION_NUM%.0\VC\vcvarsall.bat"
set ARCH=amd64
set GENERATOR_NAME=Visual Studio %VC_VERSION_NUM% Win64
call %VCVARSALL_BAT% %ARCH%
View TouchEventTest.cs
using UnityEngine;
public class TouchEventTest : MonoBehaviour {
void Start () {
GearVRHelper.OnBackHold += () => {
Debug.Log("BACK HOLD!");
};
GearVRHelper.OnBackPush += () => {
Debug.Log("BACK PUSH!");
};
View GearVRHelper.cs
using UnityEngine;
public class GearVRHelper : MonoBehaviour{
//タップ・フリック検出用の
public delegate void TrackPad(float x, float y);
//戻るボタンの短押しと、長押し用
public delegate void Trigger();
//戻るボタンの長押し検出時間
You can’t perform that action at this time.