Пример #1
0
 void OnBorderEnter(IntVector2 node)
 {
     if (m_Obj != null)
     {
         Vector3 pos;
         if (PEUtil.GetFixedPosition(LODOctreeMan.self.GetNodes(node), transform.position, out pos))
         {
             m_Obj.transform.position = pos;
             m_Obj.SetActive(true);
         }
     }
 }