예제 #1
0
 private void Awake()
 {
     if (_defaultInterface != null)
     {
         _interface = _defaultInterface.GetComponent <IPopupDisplay>();
     }
 }
예제 #2
0
 // ----------------------------------------------------------------------------------------
 public void SetInterface(IPopupDisplay callbacks)
 // ----------------------------------------------------------------------------------------
 {
     _interface = callbacks;
     Events.SendGlobal(new PopupMgrInterfaceChangedEvent());
 }