unitycoder / UnityMobilePaint

Public repository for MobilePaint issues & requests
https://www.assetstore.unity3d.com/en/#!/content/19803?aid=1101lGti
MIT License
49 stars 16 forks source link

How to draw on UI Image? #50

Open vu-truong opened 4 years ago

vu-truong commented 4 years ago

Hi, This plugin is fantastic. But is there any way to draw on UI Image?

vu-truong commented 4 years ago

Why you draw on mesh instead of ui image?

unitycoder commented 4 years ago

main reasons:

so it would have to be modified to use Graphics.Raycasts (replace Physics.Raycasts) to get UV or pixel position there to draw pixels.