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]; }
public static Vector3[] GetRayPositionsFromTile(Tile t) { return(M_Math.GetTransformBoundPositionTop(t.transform)); }