示例#1
0
 public void OnUIParentGateDidCloseRestoreIAP(UIParentGate ui, bool isLongPress)
 {
     if (isLongPress)
     {
         DoBtnRestoreIAP();
     }
 }
示例#2
0
 public void OnUIParentGateDidCloseShare(UIParentGate ui, bool isLongPress)
 {
     if (isLongPress)
     {
         DoBtnShare();
     }
 }
示例#3
0
 public void OnUIParentGateDidCloseNoAd(UIParentGate ui, bool isLongPress)
 {
     if (isLongPress)
     {
         DoBtnNoAdAlert();
     }
 }
示例#4
0
 public void OnUIParentGateDidCloseShop(UIParentGate ui, bool isLongPress)
 {
     if (isLongPress)
     {
         ShowShop();
     }
 }
示例#5
0
 public void OnUIParentGateDidClose(UIParentGate ui, bool isLongPress)
 {
     if (isLongPress)
     {
         OnClickAdInternal();
     }
 }
示例#6
0
 public void OnUIParentGateDidCloseAppCenter(UIParentGate ui, bool isLongPress)
 {
     if (isLongPress)
     {
         Debug.Log("OnUIParentGateDidCloseAppCenter");
         GotoAppUrl(ParentGateViewController.main.index);
     }
 }
 public void CreateUI()
 {
     ui = (UIParentGate)GameObject.Instantiate(uiPrefab);
     ui.SetController(this);
     UIViewController.ClonePrefabRectTransform(uiPrefab.gameObject, ui.gameObject);
 }