This file contains hidden or 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.Collections; | |
[AddComponentMenu("NGUI/Tween/Ex/Label Randamize")] | |
public class LabelRandamize : MonoBehaviour { | |
public UILabel label; | |
public bool autoDestroy = false; | |
const string randamText = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ11234567890"; | |
This file contains hidden or 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 System.Collections.Generic; | |
public class AssetBundleManager { | |
class AssetReference : IDisposable { | |
int count; | |
public AssetBundle bundle; | |
This file contains hidden or 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 UnityEditor; | |
using System.Collections; | |
/// <summary> | |
/// Editor Utility tool. | |
/// author koki ibukuro | |
/// </summary> | |
public class CreateTool : ScriptableObject { | |
This file contains hidden or 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 UnityEditor; | |
using System.Collections.Generic; | |
/// <summary> | |
/// Model animation spliter. | |
/// by Koki Ibukuro @asus4 | |
/// </summary> | |
public class ModelAnimationSpliter : EditorWindow { | |
TextAsset csvAsset; |
This file contains hidden or 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 System.IO; | |
/// <summary> | |
/// WWW cache. | |
/// </summary> | |
public class WWWCache { | |
This file contains hidden or 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 System.Collections.Generic; | |
/// <summary> | |
/// Base WWW request component. | |
/// </summary> | |
public class WWWRequest : MonoBehaviour { | |
This file contains hidden or 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
Library | |
Temp | |
*.csproj | |
*.sln | |
*.pidb | |
*.userprefs | |
*.unityproj |
This file contains hidden or 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
/// <summary> | |
/// カレンダー単位の期間の差を返します | |
/// 実際の差ではなくて、2012/12/31と、2013/01/01の差は"1"になります。 | |
/// </summary> | |
/// <returns> | |
/// The Month difference. | |
/// </returns> | |
public static int CalendarPageDifference (DateTime old, DateTime now) | |
{ | |
int old_year = old.Year; |
This file contains hidden or 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
void UpdateScenesInBuild () | |
{ | |
List<EditorBuildSettingsScene> scenes = new List<EditorBuildSettingsScene> (EditorBuildSettings.scenes); | |
bool isDev = EditorUserBuildSettings.development; | |
foreach (EditorBuildSettingsScene scene in scenes) { | |
if (scene.path.Contains ("Debug")) { | |
scene.enabled = isDev; | |
This file contains hidden or 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.Collections.Generic; | |
/// <summary> | |
/// Debug grapher. | |
/// </summary> | |
[RequireComponent (typeof(Camera))] | |
public class DebugGrapher : MonoBehaviour | |
{ | |