예제 #1
0
 void addListener(Button b, string value)
 {
     if (MenuUI != null)
     {
         b.onClick.AddListener(() => MenuUI.AreYouSureLoad(value));
     }
     else
     {
         b.onClick.AddListener(() => SetSaveName(value));
     }
 }