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; | |
using System.Collections; | |
public class PanelMaker | |
{ | |
private static readonly string ModellNameFormat = "panel({0},{1})"; | |
private static readonly string MaterialNameFormat = "{0}.mat"; | |
private static readonly string ShaderNameFormat = "Unlit/Transparent"; | |
private static readonly string PanelNameFormat = "{0}"; |
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; | |
[ExecuteInEditMode] | |
[RequireComponent(typeof(GUIText))] | |
public class FollowGUI : MonoBehaviour { | |
[SerializeField] | |
GameObject target; | |
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 WebCamTextureFOV : MonoBehaviour | |
{ | |
private WebCamTexture webcam = null; | |
private bool isPlaying = false; | |
public bool cameraPositionAuotSetting = true; | |
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; | |
using Excel; | |
using Excel.Core; | |
using System.IO; | |
public class LoadExcel : MonoBehaviour | |
{ | |
[SerializeField] | |
string filePath; |
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; | |
using System; | |
public class BundleDownload : MonoBehaviour | |
{ | |
public string url = "http://*******.unity3d"; | |
IEnumerator Start () | |
{ |
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.IO; | |
using Excel; | |
using UnityEditor; | |
using UnityEngine; | |
public class ExcelDatalProcessor : AssetPostprocessor | |
{ | |
//出力先. | |
private static readonly string exportPath = "Assets/Terasurware/App Data xlsx.asset"; |
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 Loby : MonoBehaviour | |
{ | |
void OnEnable () | |
{ | |
// サーバー接続 | |
PhotonNetwork.ConnectUsingSettings ("0.1"); | |
} |
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 abstract class NetworkBase : MonoBehaviour | |
{ | |
/// <summary> | |
/// FSMのステータスを切り替える | |
/// </summary> | |
/// <typeparam name='T'> | |
/// The 1st type parameter. |
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; | |
/// <summary> | |
/// v .1.18 | |
/// </summary> | |
public class PhotonNetworkMessagingTemplate : Photon.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
using UnityEngine; | |
public abstract class FsmAIBase : MonoBehaviour | |
{ | |
void OnEnable() | |
{ | |
Change(); | |
} | |
protected void Change() | |
{ |