Пример #1
0
    // ------------------------------------------------------------------------------------------------------

    // Called from Unity when player clicks on this floor tile
    public void OnMouseUpAsButton()
    {
        // Pathfind to this clicked floor tile.
        ThePlayer.PathfindToFloorTile(this);
    }