
シングルトンパターンと静的クラス(Static:スタティック)の使い分け
C#でシングルトンパターンとスタティックの使い分けは、それぞれの使用目的やニーズによって異 ...

【C#】繰り返す(for文)をVisualStudioのインテリセンスを使って少ない労力で入力する
VisualStudioのスニペット機能を使って少ない労力で入力する手順について見ていきま ...

数値計算で型による誤差
2進数と10進数では内部の数値の扱い型が違います これを認識していないと思わぬバグを生むこ ...

10進数の0.1を2進数に変換すると誤差ができるのはなぜ?
10進数と2進数で誤差が出ることを説明するために、簡単な例を使ってみましょう。まず、10進 ...

【リンク】アプリケーションを素早くデバッグするためのステップとは?
アプリケーションを素早くデバッグするには?自分のコードにある問題を見つけて修正するには、ど ...

【Unity】公式のノウハウ集
Unity公式から提供されているC#コーディングやアプリケーション作成のノウハウ集になりま ...

【Unity】斜めの移動が速くなってしまう
Joyスティックを使う、または、キーボードで上キーと右キーの同時押しなど斜めに移動すると、 ...

衝突時の処理をアイテム側に移行したサンプル
コード BasketController using UnityEngine; publi ...

【Unity】的の当たった場所によって得点を決める
的にあたる場所による得点の違いを得るには、さまざまな方法があります的に複数のコライダーを取 ...

プログラムでイベントに使われているデザインパターン
プログラムでイベントに使われているデザインパターンは、イベント駆動型アプリケーションやGU ...