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 System.Collections.Generic; | |
using UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// チートシートのウィンドウ | |
/// </summary> | |
public class CheatSheet : EditorWindow | |
{ | |
// ホットキーのテーブル |
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 System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// シーンを開く拡張ウィンドウ | |
/// </summary> | |
public class OpenScene : EditorWindow | |
{ | |
private Vector2 _scrollPos; // スクロールの座標 |
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 System; | |
using UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// ディレクティブ一覧の拡張ウィンドウ | |
/// </summary> | |
public class DirectiveSheet : EditorWindow | |
{ | |
private Vector2 _scrollPos; // スクロールの座標 |
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 System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// Missing Scriptsを抽出するスクリプト | |
/// </summary> | |
[InitializeOnLoad] | |
internal class MissingScriptChecker : Editor | |
{ |
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 UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// PlayerPrefsを削除するクラス | |
/// </summary> | |
public class DeletePlayerPrefs : ScriptableObject | |
{ | |
/// <summary> | |
/// PlayerPrefsをすべて削除する |
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 UnityEditor; | |
using UnityEngine; | |
/// <summary> | |
/// ゲームオブジェクトの作成を拡張するクラス | |
/// </summary> | |
public class CreateGameObject : ScriptableObject | |
{ | |
/// <summary> | |
/// 空のゲームオブジェクトを現在選択中のゲームオブジェクトの階層に作成する |
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 System.Diagnostics; | |
using UnityEngine; | |
/// <summary> | |
/// 独自のDebugクラス | |
/// </summary> | |
public static class MyDebug | |
{ | |
/// <summary> | |
/// ログを出力する |
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> | |
/// 専用のランダムクラス | |
/// </summary> | |
public static class MyRandom | |
{ | |
/// <summary> | |
/// bool型の乱数を取得する | |
/// </summary> | |
/// <returns>bool型の乱数</returns> | |
public static bool RandomBool() |
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; | |
public class Character : MonoBehaviour | |
{ | |
[SerializeField] | |
private float speed; | |
public float Speed | |
{ | |
get { return speed; } |
OlderNewer