Skip to content

Instantly share code, notes, and snippets.

View Suzeep's full-sized avatar

Suzeep Suzeep

View GitHub Profile
@Suzeep
Suzeep / StringEditor.cs
Last active November 4, 2016 00:49
AdvancedInspectorでMultilineAttributeを指定したstringの配列・リストが属性反映されてないので無理やり反映させた。StringEditor.csを以下のように編集。
using UnityEngine;
using UnityEditor;
using System;
using System.Collections;
namespace AdvancedInspector
{
public class StringEditor : FieldEditor
{
public override Type[] EditedTypes
@Suzeep
Suzeep / ExtensionsTransform.cs
Created January 19, 2017 14:00
UnityのTransformクラスの拡張メソッド
using UnityEngine;
//================================================================================
// class ExtensionsTransform
//================================================================================
public static class ExtensionsTransform
{
//--------------------------------------------------------------------------------
// set world position
//--------------------------------------------------------------------------------
@Suzeep
Suzeep / settings.json
Last active June 20, 2017 03:52
VisualStudioCode - user setting (confirmed version 1.13.1)
// Place your settings in this file to overwrite the default settings
{
// Controls if the editor shows reference information for the modes that support it
"editor.referenceInfos": false,
// Controls if the editor will insert spaces for tabs. Accepted values: "auto", true, false. If set to "auto", the value will be guessed when a file is opened.
"editor.insertSpaces": false,
// エディターで空白文字を表示するかどうかを制御します
"editor.renderWhitespace": true,
@Suzeep
Suzeep / DefineSymbolSwitcher.cs
Last active November 18, 2017 09:25
DEBUG, RELEASE, MASTERといったプリプロセッサを追加・切り替えするメニュー
using UnityEditor;
using UnityEngine;
using System;
using System.Collections.Generic;
using System.Linq;
//================================================================================
// class DefineSymbolSwitcher
//================================================================================
public static class DefineSymbolSwitcher