Entries from 2015-05-19 to 1 day
複数のステージを作る際に、Canvasをプレハブで再利用するとき、EventSystemを子にしておく。
親を設定する。 cameoChild.transform.SetParent(ListParent.transform);
Unityでプラットフォームごとに分岐を作る - ことばアルバムis4cafe.hatenablog.com
Dots:「繋ぎ」を追求するゲーム - Google Play の Android アプリ gigazine.net
using UnityEngine; using System.Collections; using UnityEngine.UI; public class SplashScreenScript : MonoBehaviour { public Image myPanel; float fadeTime = 2f; Color colorToFadeTo; void Start() { colorToFadeTo = new Color (1f, 1f, 1f, 1f);…
if (Input.GetKeyDown(KeyCode.A)){ PlayerPrefs.DeleteAll(); } Unityで、保存データ全消しのデバッグ用ボタンを配置するblog.k-kansei.com