6 using System.Collections.Generic;
12 private GameObject widgetparent;
14 private GameObject widgetobj;
16 #region PRIVATE_MEMBER_VARIABLES 20 private bool isDraggable =
false;
21 #endregion //PRIVATE_MEMBER_VARIABLES 23 #region UNITY_MONOBEHAVIOUR_METHODS 32 handDraggable.enabled = isDraggable;
35 handDraggable.StoppedDragging += StopDragging;
59 base.InputDown(obj, eventData);
64 #endregion //UNITY_MONOBEHAVIOUR_METHODS 66 #region PRIVATE_METHODS 67 private void ResizeAction()
69 throw new NotImplementedException();
72 private void StorageAction()
74 throw new NotImplementedException();
77 private void PinAction()
79 throw new NotImplementedException();
82 private void StopDragging()
84 handDraggable.enabled =
false;
87 private void CloseAction()
89 handler.EnableWidget(
false);
91 private void DragAction()
93 handDraggable.enabled = !isDraggable;
94 isDraggable = !isDraggable;
96 #endregion //PRIVATE_METHODS