示例#1
0
    private void DebugInput()
    {
        if (Input.GetMouseButtonDown(1))
        {
            HexTile tile = TileAtMouse();
            if (!tile)
            {
                return;
            }

            if (!gameManager.mapManager.Reveal(tile))
            {
                if (!tile.Excavated())
                {
                    List <Artifact> excavated = tile.Excavate();
                    //Debug.Log("Excavated " + excavated.Count + " artifacts!");
                }
            }
        }
    }