This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.IO; | |
using UnityEngine; | |
using UnityEditor; | |
namespace SetupTools | |
{ | |
public class AbstractSettings<T> : ScriptableObject where T : ScriptableObject | |
{ | |
public static T Load(string assetPath) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using UnityEngine; | |
/// <summary> | |
/// ======================================================= | |
/// RubyのhashをC#のHashTableに変換 | |
/// ======================================================= | |
/// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//------------------------------------------------------- | |
// @file CommonTextAnimation.cs | |
// @brief IMeshModifierを利用したテキストアニメーション. | |
// | |
// @author haruki.tachihara | |
//------------------------------------------------------- | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.EventSystems; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[CustomEditor(typeof(Validator))] | |
public class ValidatorInspector : Editor | |
{ | |
public override void OnInspectorGUI () | |
{ | |
var validator = target as Validator; | |
var width = EditorGUIUtility.currentViewWidth - 20; | |
var drawer = new UnityEventDrawer (); | |
if (GUILayout.Button ("Validate")) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//------------------------------------------------------- | |
// @file HierarchyWindowExtension.cs | |
// @brief ヒエラルキービューの拡張. | |
// | |
// @author haruki.tachihara | |
//------------------------------------------------------- | |
using UnityEngine; | |
using UnityEditor; | |
/// <summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch -D `git branch --merged | grep -v \* | xargs` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//------------------------------------------------------- | |
// @file SelectionHelper.cs | |
// @brief . | |
// | |
// @author haruki.tachihara | |
//------------------------------------------------------- | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System; | |
using System.Collections; | |
using UnityEngine.UI; | |
using UnityEngine.EventSystems; | |
using System.Collections.Generic; | |
/// <summary> | |
/// ルビ付きテキスト. | |
/// "ふわふわ[時間:タイム]" のようにタグを設定することでルビが振られます |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//------------------------------------------------------- | |
// @file CanvasGroupEnhansed.cs | |
// @brief | |
// CanvasGroupのアルファを用いたフェード時に | |
// Text用のメッシュエフェクトを綺麗に見せるコンポーネントです | |
// CanvasGroupにアタッチして使用してください | |
// | |
// @author haruki.tachihara | |
//------------------------------------------------------- |
NewerOlder