//Get the script of the piece selected public void GetPiece(GameObject PieceSelected) { m_SelectedPiece = PieceSelected; m_ScriptShipPieces = m_SelectedPiece.GetComponent<ScriptShipPieces>(); }
public void GetPiece(GameObject PieceSelected)//Get the script of the piece selected { m_SelectedPiece = PieceSelected; m_ScriptShipPieces = m_SelectedPiece.GetComponent <ScriptShipPieces>(); }