예제 #1
0
    internal void OpenHintBox(string hintText, HideCallBack cb = null)
    {
        BoxObj.SetActive(true);

        HintText.text = hintText;

        CurCB += cb;
        if (CurCB != null)
        {
            StopCoroutine("DelayHide");
            StartCoroutine("DelayHide");
        }
    }
예제 #2
0
 public void CloseHintBox()
 {
     BoxObj.SetActive(false);
     CurCB = null;
 }