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