Exemplo n.º 1
0
 public void OnDrop(UIDragger dragger)
 {
     if (dragger != null && dragger.uiMod != null)
     {
         object[] param = { UIEVENT.UIDROP, controlID, dragger.controlID };
         dragger.uiMod.OnEvent(param);
     }
 }
Exemplo n.º 2
0
 private void Awake()
 {
     sound  = GetComponent <AudioSource>();
     script = questWindow.GetComponent <UIDragger>();
 }