Skip to content

Instantly share code, notes, and snippets.

@f-space
f-space / PluginSystem.js
Created December 2, 2016 09:13
RPGツクールMVでモジュールを管理するためのプラグイン。(JavaScript)
/*!
/*:
* @plugindesc プラグインの管理システム
* @author F_
*
* @help
* プラグイン開発をサポートするプラグイン。
*
* 必ず最初に実行すること。
*
@f-space
f-space / PluginSystem.ts
Created December 2, 2016 09:11
RPGツクールMVでモジュールを管理するためのプラグイン。(TypeScript)
/*!
/*:
* @plugindesc プラグインの管理システム
* @author F_
*
* @help
* プラグイン開発をサポートするプラグイン。
*
* 必ず最初に実行すること。
*
@f-space
f-space / Program.cs
Created September 26, 2016 09:18
DXライブラリで三角形を回転させるサンプル (C#)
using DxLibDLL;
using System;
using System.Diagnostics;
namespace DxLibTest
{
public static class Program
{
private static readonly float DegToRad = (float)(Math.PI / 180.0);
@f-space
f-space / UnityEditorPrefs.ps1
Created August 26, 2016 10:08
UnityのEditorPrefsで保存した値を操作するPowerShellスクリプト
Set-Variable -Name "DefaultUnityEditorVersion" -Value 5 -Option Constant -Scope Global
function global:Get-UnityEditorPrefPath()
{
[CmdletBinding()]
[OutputType([string])]
param
(
[Parameter(Mandatory=$false)]
[int] $Version = $DefaultUnityEditorVersion
@f-space
f-space / VertexTransformation.cs
Created July 11, 2016 13:40
頂点変換アニメーションのUnityエディタ拡張
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.SceneManagement;
using UnityObject = UnityEngine.Object;