Change Function?

how can i change function from function OnmouseDown to OnTouch() function?

I would handle the Input.touches in Update(). If you need OnTouch specifically, you’re creating your own API, good for you, so having processed touch detection in Update, call your OnTouch function from there.