mirror of
https://github.com/RaindropViewer/RaindropViewer.git
synced 2026-07-28 15:08:41 +00:00
27 lines
505 B
C#
27 lines
505 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Serialization;
|
|
|
|
//the map overlay panel, that is laid on top of the map UI when a place is selected.
|
|
public class OverlayPanel : MonoBehaviour
|
|
{
|
|
public GameObject panel;
|
|
private void Awake()
|
|
{
|
|
//register my root.
|
|
|
|
}
|
|
|
|
public void Show()
|
|
{
|
|
panel.SetActive(true);
|
|
}
|
|
|
|
public void Disappear()
|
|
{
|
|
panel.SetActive(false);
|
|
}
|
|
}
|