プレハブ入れ替え Unity
http://forum.unity3d.com/threads/24311-Replace-game-object-with-prefabhttp://unity3d.com/support/documentation/ScriptReference/ReplacePrefabOptions.ReplaceNameBased.html
Unity3.4.1リリース
Unity 3.4.0f5だったが、昨日あたりリリースされた模様。GUIの2バイト文字が強化された?
http://unity3d.com/unity/whats-new/unity-3.4.1
C#のTransform高速化 Unity
- こんな処理が多いと遅くなる。
this.transform.Rotate (0.0f, 0.0f, 180.0f);
- 変数宣言する
private Transform mytrans;
- Startメソッドで一旦mytrans変数とかに代入しておく
void Start () { mytrans = this.transform; }
- こう使います。劇的にスピードが上がった!
this.transform.Rotate (0.0f, 0.0f, 180.0f);