LoginSignup
4
4

More than 5 years have passed since last update.

Unity 4.5 選択中のゲームオブジェクトの子に空のゲームオブジェクトを生成する

Posted at

Unity 4.5 選択中のゲームオブジェクトの子に空のゲームオブジェクトを生成する

 

いままで

  • Create Emptyでは、プレビューのカメラ位置に影響したpositionの値が初期値で設定されていました
  • まっさらのオブジェクトが作りたいのに、地味にpositionの値が邪魔
  • ヒエラルキー上で親子関係を変更すると、親に影響されてスケールの値が変わったり

 

Unity 4.5から

  • Hierarky上でゲームオブジェクトを選択し、以下をメニューから選択するだけ
GameObject/Create Empty Child
  • 選択したオブジェクトの子に、空のオブジェクトが追加されます

  • 何も選択せずに実行すれば、原点に生成されます

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4