Ejemplo n.º 1
0
 void GetCalificationType()
 {
     if (_L10A189_manager._TypeValidation == L10A189_manager.TypeValidation.Inmediata)
     {
         _L10A189_manager.ImmediatelyValidation(_drag.GetComponent <L10A189_drag>(), this);
     }
     else
     {
         StartCoroutine(_L10A189_manager.StateBtnValidar());
     }
 }
Ejemplo n.º 2
0
    public void OnPointerClick(PointerEventData eventData)
    {
        inDrop = false;
        swap   = false;

        if (_drop)
        {
            _drop.GetComponent <L10A189_drop>()._drag = null;
            _drop = null;
        }

        if (_L10A189_manager._OperatingMethod == L10A189_manager.OperatingMethod.Create)
        {
            if (_L10A189_manager._drags.Contains(this) && !ItsInfinite)
            {
                _L10A189_manager._drags.Remove(this);
                Destroy(this.gameObject, .3f);
            }
        }

        GetComponent <RectTransform>().anchoredPosition = _defaultPos;
        UpdateCurrentPosition();
        StartCoroutine(_L10A189_manager.StateBtnValidar());
    }