Revize 54fb8008
Přidáno uživatelem Zuzana Káčereková před více než 3 roky(ů)
Client/Client/Assets/Scripts/UI/PopUpPanel.cs | ||
---|---|---|
2 | 2 |
using System.Collections.Generic; |
3 | 3 |
using UnityEngine; |
4 | 4 |
|
5 |
/// <summary> |
|
6 |
/// Panel base class |
|
7 |
/// |
|
8 |
/// Author: kacerekz |
|
9 |
/// |
|
10 |
/// </summary> |
|
5 | 11 |
public class PopUpPanel : MonoBehaviour |
6 | 12 |
{ |
13 |
/// <summary> |
|
14 |
/// Scene manager |
|
15 |
/// </summary> |
|
7 | 16 |
public SceneManager sceneManager; |
17 |
|
|
18 |
/// <summary> |
|
19 |
/// Map renderer |
|
20 |
/// </summary> |
|
8 | 21 |
public MapRenderer mapRenderer; |
22 |
|
|
23 |
/// <summary> |
|
24 |
/// This panel |
|
25 |
/// </summary> |
|
9 | 26 |
public GameObject panel; |
10 | 27 |
|
28 |
/// <summary> |
|
29 |
/// Exits a panel |
|
30 |
/// </summary> |
|
11 | 31 |
public void OnExitButtonClicked() |
12 | 32 |
{ |
13 | 33 |
panel.SetActive(false); |
Také k dispozici: Unified diff
Last edits