private void Awake() { inst = this; dragPanel = transform.Find("dragPanel"); EventListener.AddDrag(dragPanel, onDrag); EventListener.AddDown(dragPanel, onDown); EventListener.AddUp(dragPanel, onUp); EventListener.AddPinch(dragPanel, onPinch); }