예제 #1
0
    public void MouseClicked(MouseEvent e)
    {
        var globalToLocal = tileStage.GlobalToLocal(e.GlobalCoordinates);
        var localToStage  = tileStage.LocalToStage(globalToLocal);

        Debug.Log("Screen Coords " + e.ScreenCoordinates + " "
                  + "Global Coords " + e.GlobalCoordinates + " "
                  + "Global To Local" + globalToLocal + " "
                  + "Local To Stage" + localToStage);
    }