Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

CCEventListenerTouchOneByOne OnTouchBegan

$
0
0

Does anyone know if it's possible to make the OnTouchBegan asynchronous? Ideally I'd like to be able to do something like this

layer.AddEventListener(new CCEventListenerTouchOneByOne { OnTouchBegan = OnTouch });
private async Task<bool> OnBuildingTouch(CCTouch arg1, CCEvent arg2)
{
     await RunActionAsync(....);
 }

Viewing all articles
Browse latest Browse all 204402

Trending Articles



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