예제 #1
0
    public void ShowPopup(EOPERATION_RESULT type, string msg)
    {
        message.text = msg;

        switch (type)
        {
        case EOPERATION_RESULT.FAIL:
            message.color = Color.red;
            break;

        case EOPERATION_RESULT.SUCCESS:
            message.color = Color.green;
            break;
        }

        gameObject.SetActive(true);
    }
예제 #2
0
 public void ShowCancelOperationPopup(EOPERATION_RESULT type, string message)
 {
     cancelOperationPopup.ShowPopup(type, message);
 }
예제 #3
0
 public void ShowResultPopup(EOPERATION_RESULT type, string message)
 {
     resultPopup.ShowPopup(type, message);
 }