Example #1
0
 protected void dragRecieveInit(UI render, GameObject self, UIElementMeta meta, object context)
 {
     if (meta.Node.Attributes ["recieveDrag"] != null)
     {
         DragableRecieve recieve = meta.DragableRecieve;
     }
 }
Example #2
0
	public void OnBeginDrag (PointerEventData eventData)
	{
		Dragable.Current = this.gameObject;

		//this.transform.SetAsLastSibling ();
		this._group.blocksRaycasts = false;

		if (this._slot != null) {
			this._slot.Value = null;
			this._slot = null;
		} else {
			this._point = this.transform.position;
		}
	}
Example #3
0
        public void OnBeginDrag(PointerEventData eventData)
        {
            Dragable.Current = this.gameObject;

            //this.transform.SetAsLastSibling ();
            this._group.blocksRaycasts = false;

            if (this._slot != null)
            {
                this._slot.Value = null;
                this._slot       = null;
            }
            else
            {
                this._point = this.transform.position;
            }
        }