Skip to content

Instantly share code, notes, and snippets.

Naphier / UGuiTextToTextMeshPro.cs
Created Jan 4, 2017
Unity3D Editor Tool to convert Unity GUI Text objects to Text Mesh Pro Text Objects
View UGuiTextToTextMeshPro.cs
using UnityEngine;
using UnityEditor;
using UnityEngine.UI;
using TMPro;
using TMPro.EditorUtilities;
public class UGuiTextToTextMeshPro : Editor
[MenuItem("GameObject/UI/Convert To Text Mesh Pro", false, 4000)]
static void DoIt()
marukun318 / Build.cs
Created Mar 6, 2015
View Build.cs
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.IO;
public class BuildScript
const string kAssetBundlesOutputPath = "AssetBundles";
// アセットバンドル化するフォルダの設置場所
hecomi / ResourecePathAsPopupDrawer.cs
Last active Sep 7, 2016
Resoureces 下のファイルを Popup で表示する PropertyDrawer
View ResourecePathAsPopupDrawer.cs
using UnityEngine;
using System.Collections.Generic;
using UnityEditor;
public class ResourcePathAsPopupAttribute : PropertyAttribute
public string resourceType;
View ReferenceResolution.cs
using UnityEngine.EventSystems;
namespace UnityEngine.UI
[RequireComponent (typeof (Canvas))]
[AddComponentMenu("Layout/Reference Resolution", 101)]
public class ReferenceResolution : UIBehaviour
cician / TransformEditorWrapper.cs
Last active Dec 27, 2015
Transform editor rendering the original Unity's editor.
View TransformEditorWrapper.cs
using UnityEngine;
using UnityEditor;
public class TransformEditorWrapper : Editor {
Editor transformEditor;
void OnEnable() {
Transform transform = target as Transform;
System.Type t = typeof(UnityEditor.EditorApplication).Assembly.GetType("UnityEditor.TransformInspector");
uranuno / TimeUtils.cs
Last active Jun 12, 2016
Time.timeScale = 0にしたときも動く、WaitForSeconds(Unity)
View TimeUtils.cs
using UnityEngine;
using System.Collections;
public class TimeUtils : MonoBehaviour
public static IEnumerator WaitForSecondsIgnoreTimeScale(float time)
float targetTime = Time.realtimeSinceStartup + time;
while(Time.realtimeSinceStartup < targetTime)
darktable / UpdateXcodeProject.cs
Created Oct 5, 2012
Unity3D: Post-process script that copies the xcode build output to another directory. Used for updating a heavily modified Xcode project without stomping on changes to, Info.plist, etc.
View UpdateXcodeProject.cs
/* **************************************************************************
Copyright 2012 Calvin Rien
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
You can’t perform that action at this time.