コード例 #1
0
 protected virtual void Awake()
 {
     DragEvent         = new PointerUnityEvent();
     PointerUpEvent    = new PointerUnityEvent();
     PointerDownEvent  = new PointerUnityEvent();
     UsableImage       = gameObject.GetComponent <Image>();
     UsableCanvasGroup = UsableImage.gameObject.GetComponent <CanvasGroup>();
     ButtonComponent   = UsableImage.gameObject.GetComponent <Button>();
     Container         = GetComponentInParent <UsableContainer>();
 }