2013-07-01から1日間の記事一覧
土日で「Photon Cloud × Unity GameJam」に参加してきた。 URL: http://photoncloud.jp/event0629.html持って行くべきもの アイマスク → 電気つけたままで寝るかもしれないので電源のタコ足プラグ → 電源が足りない恐れを防ぐMacBookなどの延長ケーブル → 電…
https://sites.google.com/site/sunflowerlaboratory/fan-yongsukuriputo
gameObject.SetActiveRecursively(false); や gameObject.active(false); などをするとやたらと `UnityEngine.GameObject.SetActiveRecursively(bool)' is obsolete: `gameObject.SetActiveRecursively() is obsolete. Use GameObject.SetActive(), which is…
public Player[] MyPlayers { set; get; } のように定義して、確実にMyPlayersの中身は存在してるのに、 foreach (Player player in MyPlayers) { Debug.Log(player); } だとNullが出力される。 しかし、 for (int i =0; i < MyPlayers.length; i++) { Debug…
このようなソースを書いて、各PlayerにJumpさせて時間を待たせたい Enumerable.Range(0, players.Length - 1).Where(c => { players[c].Jump(); yield return new WaitForSeconds(0.3f); }); しかし The yield statement cannot be used inside anonymous me…