Example #1
0
    public void MoveToPoint(CellConnection point)
    {
        Debug.Log("Move to cell: " + point.owner.name);
        cam.MoveToPoint(point.cameraPosition.transform, currentPoint.owner.transform);
        currentPoint           = point;
        currentPoint.isCurrent = true;

        dungeonCanvas.ClearCellNavigation();
        point.owner.SpawnMonsters(cam);
    }