Aprefab is a .map file that represents an instance of an object. Using prefabs makes it easy to place and edit multiple objects quickly. Each prefab object can be individually rotated. Changes made to a prefab affect all objects built from it.
プレハブはオブジェクトの実例を表す.mapファイルです。 プレハブを使うことはすぐにそれを場所と編集複数オブジェクトに容易にします。 それぞれのプレハブオブジェクトキャンが個々に回転しています。 変更がプレハブにすべてのオブジェクトがそれから構築した感情をしました。
Constructing with prefabs is preferred over constructing objects individually. The graphics engine can save memory by only storing the geometry for the single prefab and the minimal information needed to position each related object—this is called geometry instancing.
作ることはプレハブで、個々にオブジェクトを作ることについて、好まれます。 ただ記憶、シングルプレハブと最小の情報のためのジオメトリ、だけによってのグラフィックスエンジンキャン退避メモリはそれぞれの関連オブジェクトを配置する必要がありました - これはgeometry instancingと呼ばれます。
Using prefabs
Lets say you have built a large building with a lot of windows. You can make your window once in its own prefab, saving you from having to make the window multiple times. In addition to using its own prefab, you can edit your window in its prefab and it will update all of the other prefabs instantly.
あなたが窓の仕切と一緒に大きい建物を建てたと言いましょう。 あなたキャン、ウィンドウ複数回にならなければならないことから、あなたをセーブして、かつてそれ自身のプレハブの中にあなたのウィンドウを作ってください。 それ自身のプレハブ、あなたキャンが中にあなたのウィンドウを編集する使用への付加の中にそのプレハブとそれは直ちにアップデートに他のプレハブのすべてを可能にします。
A better example is if you want to change your windows from a wood texture to a metal texture. Before, you would have to do it manually to each window; with a prefab you only need to change it once.
もっと良い例が木材テクスチャからメタルテクスチャまでもしあなたが変化にあなたのウインドウを欲するならです。 前に、あなたはそれぞれのウィンドウに手作業でそれをしなければならないでしょう;プレハブであなたのみが1度変化にそれを必要とします。
Editing your prefab
You can step in and out a prefab in your main map file. Selecting the prefab using Alt + Page Down will allow you to step into the prefab. To step back out from the prefab to the main map file use Alt + Page Up.
あなたのメインマップファイルの中にプレハブの中にそして外にあなたキャンステップ。 プレハブ使用を選択して、Alt + Page Downがあなたがステップにプレハブに入るのを許すでしょう。 ステップに後ろに外にプレハブからメインマップまでファイルがAlt + Page Upを使います。