예제 #1
0
    // MONOBEHAVIOUR METHODS
    void Awake()
    {
        da = GetComponent <DraggingActions>();

        /*if (da != null && da.CanDrag && HowToStart == StartDragBehavior.InAwake)
         * {
         *  StartDragging();
         * }*/
    }
예제 #2
0
 // MONOBEHAVIOUR METHODS
 void Awake()
 {
     da = GetComponent <DraggingActions>();
 }
예제 #3
0
파일: Draggable.cs 프로젝트: varcyon/Cards
 void Awake()
 {
     da   = GetComponent <DraggingActions>();
     dt   = GetComponent <DragOnTarget>();
     card = GetComponent <CardManager>();
 }
예제 #4
0
 // MONOBEHAVIOUR METHODS
 void Awake()
 {
     da = gameObject.GetComponent <DraggingActions>();
 }
예제 #5
0
 // MONOBEHAVIOUR METHODS
 void Awake()
 {
     da       = GetComponent <DraggingActions>();
     dragging = false;
 }