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 System.IO; | |
using System.Text; | |
using UnityEditor; | |
using UnityEditorInternal; | |
using UnityEngine; | |
using System.Collections.Generic; | |
/// <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; | |
using System.IO; | |
using System.Text; | |
using UnityEditor; | |
using UnityEditorInternal; | |
using UnityEngine; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using System.Linq; |
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 System.IO; | |
using System.Text; | |
using UnityEditor; | |
using UnityEditorInternal; | |
using UnityEngine; | |
using System.Collections.Generic; | |
using System.Linq; | |
/// <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
/*ブログ説明用 | |
Extension.SCRIPT = ".cs" | |
DirectoryPath.AUTO_CREATING_CONSTANTS = "Assets/Scripts/Constants/AutoCreating/" | |
*/ | |
using System; | |
using System.IO; | |
using System.Text; | |
using UnityEngine; | |
using System.Collections; |
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
/*ブログ説明用 | |
DirectoryPath.TOP_RESOURCES = "Assets/Resources/"; | |
FilePath.SCENE_DATA = "SceneData" | |
Extension.ASSET = ".asset"; | |
*/ | |
using System; | |
using System.IO; | |
using System.Text; | |
using UnityEditor; |
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
/*ブログ説明用 | |
DirectoryPath.TOP_RESOURCES = "Assets/Resources/"; | |
DirectoryPath.AUDIO = "Audio"; | |
DirectoryPath.BGM = DirectoryPath.AUDIO + "/BGM"; | |
DirectoryPath.SE = DirectoryPath.AUDIO + "/SE"; | |
*/ | |
using System; | |
using System.IO; | |
using System.Text; |
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
/*ブログ説明用 | |
PlayerSettingsValue.PRODUCT_NAME = アプリ名 | |
*/ | |
//メール | |
private const string MAIL_ADRESS = "送信先のメールアドレス"; | |
private const string NEW_LINE_STRING = "\n"; | |
private const string CAUTION_STATEMENT = "---------以下の内容はそのままで---------" + NEW_LINE_STRING; | |
/// <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 UnityEngine; | |
using System.Collections; | |
public class Monster : MonoBehaviour | |
{ | |
//エフェクトのプレハブへのパス | |
private const string EFFECT_PATH = "Effect/Collision"; | |
void OnCollisionEnter2D (Collision2D collider) |
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> | |
/// 色々なタイプ(列挙型)を管理するクラス | |
/// </summary> | |
public static class TypeData{ |