| | 1 | | using System.Collections; |
| | 2 | | using System.Collections.Generic; |
| | 3 | | using TMPro; |
| | 4 | | using UnityEngine; |
| | 5 | |
|
| | 6 | | public class ProjectPublishToast : BaseComponentView |
| | 7 | | { |
| | 8 | | [SerializeField] internal TextMeshProUGUI landNameText; |
| | 9 | | [SerializeField] internal TextMeshProUGUI landCoordText; |
| | 10 | | [SerializeField] internal GameObject subTitleGameObject; |
| | 11 | |
|
| 0 | 12 | | public override void RefreshControl() { } |
| | 13 | |
|
| | 14 | | public void SetLandInfo(string landName, string landCoords) |
| | 15 | | { |
| 0 | 16 | | landNameText.text = landName + " selected"; |
| 0 | 17 | | landCoordText.text = landCoords; |
| 0 | 18 | | } |
| | 19 | |
|
| | 20 | | public void SetSubtitleActive(bool isActive) |
| | 21 | | { |
| 0 | 22 | | subTitleGameObject.SetActive(isActive); |
| 0 | 23 | | } |
| | 24 | | } |