冷奴の開発メモ

UnityとかC#とかプログラミングのことをメモしていく場所

2016-01-01から1年間の記事一覧

ニフティクラウドmobile backendを使ってみた

アプリで作成したデータ(Serializableなクラス)をユーザ間で共有する仕組みを探していたところ、ニフティクラウドmobile backend(NCMB)が想像以上に簡単だったためメモ。公式ドキュメント。導入方法やサンプルなどが非常に充実している。 ドキュメント : 開…

エディタ用テキストダイアログ

ソース using UnityEngine; using UnityEditor; namespace Hiyayakko { public sealed class EditorTextDialog : EditorWindow { private string label = ""; private string value = ""; private System.Action<string> onOk = null; private System.Action onCance</string>…

IntをEnumとして表示する

ソース using UnityEngine; using System.Collections; using System.Collections.Generic; using System; using System.Diagnostics; #if UNITY_EDITOR using UnityEditor; #endif namespace Hiyayakko { [AttributeUsage(AttributeTargets.Field), Conditi…

Projects上の右クリックメニュー

Projects上での右クリックメニューはメニューバーのAssets以下と同じなので、 [MenuItem("Assets/~")]で追加できる。