コード例 #1
0
    public void setSelectedShip(Ship ship)
    {
        if (pauseCanvas.enabled)
            return;

        if (selectedShip)
            selectedShip.drawArrow(false);
        selectedShip = ship;
        if (selectedShip) {
            selectedShip.drawArrow(true);
            BroadcastMessage("shipSelected", ship);
        }
    }