Entries from 2015-07-01 to 1 month
Mobile Social Plugin https://www.assetstore.unity3d.com/en/#!/content/15066 using UnityEngine; using System.Collections; public class SosialShareManager : MonoBehaviour { Texture2D ss; public GameObject ShareParent; #region Mono void Start…
//現在の標準時刻お取得方法 DateTime dateNow = DateTime.Now; TimeZoneInfo.ConvertTimeToUtc(dateNow); Debug.LogWarning(TimeZoneInfo.ConvertTimeToUtc(dateNow)); タイム ゾーン間での時刻の変換 //標準時刻からの時差の取得方法 System.DateTimeOffse…
5回に一回呼び出す int n; public void PlayButton(){ if(!Play){ Play = true; AudioManager.instance.ButtonOKSound(); StartCoroutine(PlaybuttonOnWait()); AdsManager.Instance.RequestBanner (); //5回に一回出るようにする。 n++; if (n == 5) { if…
//スクリプトがオンになったら呼び出される void OnEnable()
error CS0165: Use of unassigned local variable `notifGame' string notifGame; //初期値を与えてやることによってなおる。 string notifGame ="";
チラシの裏的備忘録: Unityゲームを終了する
1. スタートガイド スタートガイド - Android用SDK - ドキュメンテーション - 開発者向けFacebook 開発者向けFacebookFacebook Developers 1. Unity用Facebook SDKをダウンロードする。 2. Unity メニューバーにFacebookが表示されるようになる。 2. 「My Ap…
UniWebView https://www.assetstore.unity3d.com/jp/#!/content/12476 loumo.jpUniwebview – Unityのクロスプラットフォームアプリで簡単WEB表示 | RiARiSE - WEBサイト・ホームページ制作、Wordpress構築、アプリ開発(宮崎/東京) using UnityEngine; usi…
1.Google Admob Androidアプリで広告収入を得る方法 「AdMob」 | mucchinのAndroid戦記 UnityでインターステイシャルなAdMob | 電脳ノート Mobile App Monetization, Analysis & Mediation – Google AdMob public void RequestBanner() { // Google AdMob…
アニメーションの遷移SetBool第 1 回・Unity / Mecanimでユニティちゃんを歩かせる | ピックアップ | ギャップロwww.gaprot.jp
Locations 2015 | Global Game Jam®
GUIのレイアウトを設定する - Unityな日々(Unity Geek)unitygeek.hatenablog.com 【エディタ拡張徹底解説】初級編②:いろいろなGUI(GUILayout編)【Unity】 | ケットシーウェアcaitsithware.com ActionScript入門Wiki - Unity - GUILayout - Buttonwww40.at…
101 2Dカメラのピンチインアウト処理 [stepism@Unityメモ] Unityでピンチインとか(EasyTouch) - 株式会社BEFOOLbefool.co.jp void Update () { if(Input.GetKey(KeyCode.Space)){ PlayerPrefs.DeleteAll(); print("Reset done!"); } if(Playbutton){ orthogr…
[Unity] オブジェクトの表示、非表示www.happytrap.jp 【Unity】iTweenというアセットがスゴイ【GUI】 - モノクロタイムreiji1020.hatenablog.com
イコールと同じ MyCollection[i]._Id.Equals(id)
使用例1 //enumの名前でtypeなどを使うと、プラグインなどの変数名とかぶる可能性あり public enum CollectionType { ITEM, HOSTAGE, BANDIT, } public class GalleryController : MonoBehaviour { public CollectionType type; public static GalleryContr…
//宣言が必要 using LitJson; public class HostageInfo : MonoBehaviour { public List<HostageCollection> MyCollectionHS; public List<Sprite> SpriteSeriesHS; // public List<String> HSName; public static HostageInfo instance = null; void Awake(){ if(instance == null){ instance =</string></sprite></hostagecollection>…
インスペクターから見えるようにする。 using UnityEngine; using System; using System.Collections; using System.Collections.Generic; [Serializable] public class ItemCollection{ public int _Id; public Sprite _ItemSprite; public int _CurrentCol…
AudioSource.clipでclipを変更 using UnityEngine; using System.Collections; using UnityEngine.UI; public class AudioManager : MonoBehaviour { public AudioSource MusicBackground; public AudioSource[] Sfx; public AudioClip AudioMenuScreen; pub…
bool型の変数を作って、最初の一回だけ表示するようにすれば良い チュートリアル用の番号 public bool isFirstTimePlay{ get{ if (ES2.Exists ("_isFirstTime")) { return ES2.Load<bool> ("_isFirstTime"); }else { //存在していれば、最初だということでtrueにす</bool>…
studio.openxcell.com