敵や弾、ダメージテキストを生成する時など、Instantiateを使うときに気をつけることをまとめてみました。 罠1プレハブ指定の型 プレハブをGameObject型で指定するのはやめるべき。というか、GameObject型を使うのがそもそもかなりアウト寄りな行為。どんな ...
便利なGetComponentに潜むワナについてのお話です。 「GetComponentをぶん回す」とは GetComponentをUpdate関数内で毎フレーム呼び出す、または繰り返し処理の中で使用するなど、GetComponentを大量に呼び出すことを指しています。ただし、GetComponentをぶん回すなんて ...
This repository contains a prototype rail grinding mechanic I took the time to develop, and as a former Unity Game Design Instructor I saw this as an opportunity to use my skills to help teach others ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する