using UnityEngine; namespace BrewMonster.UI { /// /// This script should be attached to the trans point button in the world map. /// A Transmit Point will show up when user use Transmit Scroll or Transmit Service. (Dịch vụ dịch chuyển ở NPC) /// public class WorldMapTransPoint : MonoBehaviour { [HideInInspector] public int id; private DlgWorldMap _dlgWorldMap; public void Init(DlgWorldMap dlgWorldMap, int id) { _dlgWorldMap = dlgWorldMap; this.id = id; } public void OnClick() { _dlgWorldMap.OnTransPointClicked(id); } } }