Assets/Scripts/HighligthsManager.cs
/// <summary>
/// function that permits to highlight the selected tile on the board
/// </summary>
function that permits to highlight the selected tile on the board
function that permits to highlight the selected tile on the board
public void ownTileHighligth(int x, int z)
    {
        GameObject go = GetHighlightObjectforOwnTile();
        go.SetActive(true);
        go.transform.position = new Vector3(x+ offsetX + BoardManager.Instance.TILE_SIZE/2, 0.27f + offsetY, z + offsetZ+ BoardManager.Instance.TILE_SIZE/2);
    }
public void ownTileHighligth ( int x , int z ) { GameObject go = GetHighlightObjectforOwnTile ( ) ; go . SetActive ( true ) ; go . transform . position = new Vector3 ( x + offsetX + BoardManager . Instance . TILE_SIZE / 2 , 0.27f + offsetY , z + offsetZ + BoardManager . Instance . TILE_SIZE / 2 ) ; }
function that permits to highlight the selected tile on the board
function that permits to highlight the selected tile on the board
x
int
z
int