Forum Libraries, Components, and Plugins

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

CCEventListenerTouchOneByOne OnTouchBegan

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(....);
 }
Tagged:
Sign In or Register to comment.