Exemple #1
0
    public override IEnumerator Open(float duration = 0.25F)
    {
        prevButton.DOAnchorPosX(80, duration);
        nextButton.DOAnchorPosX(-80, duration);
        backButton.DOAnchorPosY(95, duration);
        title.DOAnchorPosY(-80, duration);
        yield return(worldMap.Close(0));

        yield return(worldMap.Open(MemoryCard.Load().GetLastUnlockedWorld()));
    }
Exemple #2
0
 private void jPictureBox4_Click(object sender, EventArgs e)
 {
     if (mapView != null)
     {
         try
         {
             mapView.Close();
         }
         catch { }
         try
         {
             mapView = null;
         }
         catch { }
     }
     mapView            = new WorldMap(autoOpenPath);
     mapView.mouseDown += MapViewMouseDown;
     mapView.Show();
 }