public void OnBeginDrag(PointerEventData eventData) { isDraged = true; LastX = convertMousePosition().x; monsterBar.OnBeginDrag(); }
public void OnBeginDrag(PointerEventData eventData) { if (selected || isDraged) { return; } isDraged = true; noSelectedMonsterTime = 0f; LastX = convertMousePosition().x; monsterBar.OnBeginDrag(); }
void setDrag() { isDraged = true; LastX = convertMousePosition().x; monsterBar.OnBeginDrag(); }