Dear Developers,
we noticed one thing when we work with buttons, e.g.:
btnBackMonth = app.CreateButton("Back Month", 0.2, 0.1);
btnBackMonth.SetOnTouch( btnBackMonth_OnTouch );
layHoriz.AddChild( btnBackMonth );
all is Ok!
But when we change button to the image, e.g.:
btnBackMonth = app.CreateImage("Img/back_btn.png", 0.2, 0.1);
btnBackMonth.SetOnTouch( btnBackMonth_OnTouch );
layHoriz.AddChild( btnBackMonth );
after pushing on image the function is executed 3 times.
Thank you very much in advance.
Have a nice day.
Best regards
Dmitry