Advertisement

设置该对象(Mesh)的连接点

阅读量:

8.14 孙广东

第一种方式:

本文参考: http://wiki.unity3d.com/index.php?title=SetPivot

Pivot(锚点),对于熟悉UGUI的用户而言,锚点这一概念应当并不陌生,

锚点指的是对象位置的中心参照点,同时也是进行缩放与旋转操作时的核心基准!!!

复制代码
 /* * Version: 1.0
    
  * Author:  Yilmaz Kiymaz (@VoxelBoy)
    
  * Purpose: To be able to change the pivot of Game Objects
    
  *          without needing to use a separate 3D application.
    
  * License: Free to use and distribute, in both free and commercial projects.
    
  *          Do not try to sell as your own work. Simply put, play nice
    
  * Contact: VoxelBoy on Unity Forums
    
  */
    
  
    
 using UnityEn

全部评论 (0)

还没有任何评论哟~