Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
James

Junior Member
Registered:
Posts: 29
Reply with quote  #1 

Hey guys (for a heads up sorry for my bad english)

I am developing an app for iphone and android and i want to make a donate button and a "get full version" button.. now is it possible to do it with unity the free version? if so how?


Thanks!

0
WitMergers

Avatar / Picture

Junior Member
Registered:
Posts: 7
Reply with quote  #2 
Quote:
Originally Posted by WitMergers

For Donation using paypal you can open URL 

 Application.OpenURL("http://unity3d.com/");

http://docs.unity3d.com/ScriptReference/Application.OpenURL.html



*May be this Answer Your Question*

__________________
I am starting.. I am Sleeping.. I am Coding.. I am Earning
0
James

Junior Member
Registered:
Posts: 29
Reply with quote  #3 

Hey WitMergers 
Thanks for the help but the code only works on the computer. 
when i run the game in the computer and click on the object that opens the url its works.
BUT on my phone (android) when i prees the object nofthin happens.


Any idea why?


Thanks



EDIT: It works. problem was with the colider
Thanks for the help!

 

0
Martin

Avatar / Picture

Administrator
Registered:
Posts: 2,230
Reply with quote  #4 
hey James. It could be the code you are using to detect button taps works on the computer but not on devices like iOS / Android. Could you post the code here and we'll take a look.

Thanks
MArtin
0
James

Junior Member
Registered:
Posts: 29
Reply with quote  #5 
Hey martin 

I use the code  WitMergers               bring: Application.OpenURL("http://unity3d.com/");
It works on android (didnt checked it on iphone 
through)..
(I edited the comment problem was with the 
colider.. the script works fine).

Thanks for the help.



0
Martin

Avatar / Picture

Administrator
Registered:
Posts: 2,230
Reply with quote  #6 
Cool, glad it works now [smile]
Catch me if you have any other questions.

Martin
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.