全工程を行うと、30~60分程度かかります
- Visual Studio Express 2012 for Windows Desktopをダウンロード、インストールする
全工程を行うと、30~60分程度かかります
/* | |
add this at the end of prepareRunLoop | |
*/ | |
[_displayLink setPaused:YES]; | |
/* | |
add this at the end of (void) applicationDidBecomeActive: | |
*/ | |
video = [[InteractiveVideo alloc] initWithFrame:_window.bounds]; | |
video.delegate = self; |
PackageInfo info; | |
try { | |
info = getPackageManager().getPackageInfo("ecentinela.mercadotes", PackageManager.GET_SIGNATURES); | |
for (Signature signature : info.signatures) { | |
MessageDigest md; | |
md = MessageDigest.getInstance("SHA"); | |
md.update(signature.toByteArray()); |
using UnityEngine; | |
using System.IO; | |
using System.Net; | |
using System.Text; | |
public class Test : MonoBehaviour { | |
private string txt = ""; | |
void OnGUI () { | |
if (GUI.Button(new Rect(10, 10, 200, 100), "テスト")) { |
public class Asset | |
{ | |
public static void Save <T> (T asset) where T : ScriptableObject | |
{ | |
Directory.CreateDirectory (DeployGateUtility.settingsFolderPath); | |
string assetPath = DeployGateUtility.settingsFolderPath + typeof(T).Name + ".asset"; | |
T _asset = (T)AssetDatabase.LoadAssetAtPath (assetPath, typeof(T)); | |
if (_asset == null) | |
AssetDatabase.CreateAsset (asset, assetPath); | |
AssetDatabase.SaveAssets (); |
extern "C" | |
{ | |
int _pow2(int x) | |
{ | |
// Just a simple example of returning an int value | |
return x * x; | |
} | |
// Returns a char* (a string to Unity) | |
char* _helloWorldString() |
using UnityEngine; | |
using System.Collections; | |
using UnityEditor; | |
using System.IO; | |
/// <summary> | |
// ScriptableObjectをプレハブとして出力する汎用スクリプト | |
/// </summary> | |
// <remarks> | |
// 指定したScriptableObjectをプレハブに変換する。 |