Exemplo n.º 1
0
    public void MapButton()
    {
        SoundManager.Click();
        MapWindow map = GameHUD.instance.mainMenu.mapWindow;

        MapWindow.UpdateTexture(map.miniMap.GetComponent <Image> (), Vector2.one / 2);
        GameHUD.instance.mainMenu.mapWindow.gameObject.SetActive(true);
        gameObject.SetActive(false);
    }
Exemplo n.º 2
0
 public void UpdateMap()
 {
     MapWindow.UpdateTexture(miniMap, Vector2.one, 2);
 }