Exemple #1
0
 /// <summary>
 /// 初始化到墙
 /// </summary>
 /// <param name="fromWall"></param>
 /// <param name="toWall"></param>
 private void Init2Wall(Enum_Wall fromWall, Enum_Wall toWall)
 {
     m_Config.size = MapUtil.ChangeObjSize(m_Config.size, fromWall, toWall);
     m_InitData    = MapUtil.InitFurn(m_Config.size, m_Config.setType, m_InitData, toWall);
     this.transform.eulerAngles = MapUtil.GetObjEulerAngles(m_InitData.m_CurWall);
 }