Entries from 2016-03-01 to 1 month
delegate例 例1 public void FacebookShare (int id) { string msg = BossSource._item[id]._shareHeadline; Sprite ShareSprite = BossSource._item[id]._bossShareSprite; *****.Facebook.PostImageWithDialog(msg ,ShareSprite.texture, OnFacebookShareC…
デバイスでバグが確認でき、バグの原因がデバイスだけでわからない時、Android Device Monitor を使って確認する。(モニターでのチェックは必須..?)エラー 03-30 16:13:01.606: I/Unity(3016): UnityException: Texture 'frame_share_000' is not readable…
デバイスとエディタで違う出力をしたい時 #if UNITY_EDITOR #else #endif
命名の際に注意すること 名前に数字を利用するのは良くない 略語は出来る限り利用しない。一般的なもののみ利用してもよい。 複数形は利用しない。複数形か単数形かを混同したエラーを避ける。 tblやdbなどの接頭語は冗長であり無駄なので使わない ブーリア…
小数点1桁 _tCompletePercent.text = _percent.ToString("0.0") + "%"; 【C#】数値を指定の書式に変換する - オープンリファレンス 数値のカンマ付与と小数点の丸め - テラシュールブログ
offsetMin UI RectTransformのbuttomとleftの値を取得 offsetMax UI RectTransformのtopとrightの値を取得 GetComponent<RectTransform>().offsetMin; GetComponent<RectTransform>().offsetMax;</recttransform></recttransform>
1. TODO: を活用する プログラマーは、ソースコードにTODOを書こう。 - このブログは証明できない。 MonodevelopでTODOを活用する - テラシュールブログ 【Unity小技】ToDoをエディタ起動時にログ出力させて忘れにくくする - Qiita 2. より簡潔に private vo…
エラー情報の適切な管理でストレスを減らす!GitHub連携も可能な「Bugsnag」の活用法 | SELECK
_lengthStageGauge = _giStage.transform.GetComponent<RectTransform>().sizeDelta.x; UnityでnGUIなどのRectTransformプロパティのwidthやheightの値を変更する方法 | C# | nekosukoブログ 関連 Vector3 posStage2 = _iStage2.transform.GetComponent<RectTransform>().anchoredPosition;</recttransform></recttransform>