Ejemplo n.º 1
0
        protected override void setupDialog(UI.SimpleDialog dialog)
        {
            base.setupDialog(dialog);
            var lockName = $"{dialogPrefabName}-{dialog.GetInstanceID():X}";

            dialog.onPointerEnterEvent.AddListener(_ => Utils.LockControls(lockName));
            dialog.onPointerExitEvent.AddListener(_ => Utils.LockControls(lockName, false));
            dialog.onClose.AddListener(() => Utils.LockControls(lockName, false));
        }
Ejemplo n.º 2
0
 protected virtual void setupDialog(SimpleDialog dialog)
 {
 }