Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by renaldogoosen · Jul 01, 2012 at 07:23 PM · iphonexcodeipadstorekit

iPhone StoreKit implementation problem

I am trying to add the iTunes storeKit and am somewhat unfamiliar with Xcode. I found this tutorial http://troybrant.net/blog/2010/01/in-app-purchases-a-full-walkthrough/ . At #7 of the first section is the storekit code samples. What I am having a problem with is locating the files in Xcode itself and once I have, how do I fetch this information that has been added in Xcode and get my GUI to call it up?

for eg. Finding the .h and .m files? Do I place the fetch in my GUI touch in out? And What do I write to fetch the xcode information?

function Update() { for (var touch : Touch in Input.touches) { if (guiTexture.HitTest (touch.position)) { Get StoreKit item - "ProUpgrade" }
} }

Please don't say Prime31.. And if Prime31 how much am I going to struggle getting that to work? Thanks, any input or suggestions welcome..

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image whydoidoit · Jul 01, 2012 at 07:35 PM 0
Share

You will struggle a lot less with Prime31 - you need to configure all of the native calls as extern marked functions in Unity to be able to call them, then replicate any passed data structures. I can't imagine why you would do this rather than pay a few dollars for a tested one.

avatar image Voxel-Busters · Aug 09, 2015 at 06:46 PM 0
Share

Give a try with Cross Platform Native Plugins. Very easy setup and lots of features.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by renaldogoosen · Jul 01, 2012 at 07:30 PM

And once the purchase is made, I want a value in my game to show 1. Does the iPad store the purchase information if the game gets unistalled and installed again?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by u3dxt · Oct 29, 2013 at 03:20 PM

We offer a FREE native plugin that provides in-app purchases with Apple hosted downloads, and an easy to use API. It also mirrors the exact native StoreKit framework with 20 classes and 102 methods if you want to use advanced functionalities and customize implementation. There are examples, tutorials, and videos showing you how to use it.

Asset store link of the free U3DXT Basic: https://www.assetstore.unity3d.com/#/content/11817

We also offer a Pro edition that comes with GameKit, Social Networking, Face Detection, iOS 7, Speech, Game Controllers, Multipeer Connectivity, Media Player, AddressBook, EventKit, and much more to come. https://www.assetstore.unity3d.com/#/content/9555

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Error linker IOS / Unity - XcODE 2 Answers

unable to download & load particular scene in iPhone Project 2 Answers

XCode errors 1 Answer

iPhone app hangs in loading screen after upgrade to Xcode 4.0.2 and downgrading back to Xcode 3.5 for Unity 3.3 compatibility 0 Answers

iphone like date pickers 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges