示例#1
0
        void UpdateToNewTile(Tile t)
        {
            if (t == null)
            {
                return;
            }

            m_CurrentTile = t;
            m_CurrentTile.OnTileCrumble += OnMyTileUpdate;

            m_BorderGO.transform.position = M_Math.GetTransformBoundPositionTop(t.transform)[m_Corner];
        }
示例#2
0
 public static Vector3[] GetRayPositionsFromTile(Tile t)
 {
     return(M_Math.GetTransformBoundPositionTop(t.transform));
 }