|
|
|
@ -39,16 +39,27 @@ public class NodeDetailShow : MonoBehaviour, IPointerClickHandler
|
|
|
|
|
{ |
|
|
|
|
detail.text = text; |
|
|
|
|
time = 5; |
|
|
|
|
control = true; |
|
|
|
|
control = true; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void OnPointerClick(PointerEventData eventData) |
|
|
|
|
public void SetControl() |
|
|
|
|
{ |
|
|
|
|
control = false; |
|
|
|
|
TagShow.tagDetail.SetActive(false); |
|
|
|
|
TagShow.tagMessage.SetActive(false); |
|
|
|
|
TagShow.gameObject.SetActive(false); |
|
|
|
|
|
|
|
|
|
gameObject.SetActive(false); |
|
|
|
|
} |
|
|
|
|
public void OnPointerClick(PointerEventData eventData) |
|
|
|
|
{ |
|
|
|
|
TagShow.tagDetail.SetActive(false); |
|
|
|
|
TagShow.tagMessage.SetActive(false); |
|
|
|
|
TagShow.gameObject.SetActive(false); |
|
|
|
|
if (transform.parent.name== "TopUI") |
|
|
|
|
{ |
|
|
|
|
gameObject.SetActive(false); |
|
|
|
|
} |
|
|
|
|
control = false; |
|
|
|
|
replayManager.Play(); |
|
|
|
|
} |
|
|
|
|