public NvUIDialogBase createDialog(string dlgName, string dlgPrefab)
 {
     if (m_CommonLayer != null)
     {
         NvUIDialogBase dlg = m_CommonLayer.createDialog(dlgName, dlgPrefab);
         if (dlg != null)
         {
             dlg.registerNotifiactionListener(gameObject);
         }
         return(dlg);
     }
     return(null);
 }
Exemple #2
0
 public NvUIDialogBase createDialog(string dlgName, string dlgPrefab)
 {
     return(m_owner.createDialog(dlgName, dlgPrefab));
 }