Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

How to move UI Image cards within a World Canvas in an efficient way?

$
0
0
Hello guys,

I am creating a card game similar to monopoly deal. The cards are UI Images.

Cards can move from hand to the ten white slots present on table, or back to the deck in the middle.

I am using LeanTween , as shown below, to move cards but the card movement seems like lagging or slow.

Code (CSharp):
  1. LeanTween.move(gameObject.GetComponent(), SlotLocation.transform.localPosition, 1f);
View attachment 180486

Is there any specific way to move UI elements to a given...

How to move UI Image cards within a World Canvas in an efficient way?

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>