Hello,
first, thank you. I am not not a tech savvy guy. But thanks to the example I could achieve my purpose in in unity editor using the progressive rewards from the playfab recipe.
I just attached the progressive reward script to an object in my scene in unity. then wrote a simple script to check if its there.
here is what I wrote
void Start () { progressiveRewardObject = GameObject.FindWithTag ("ProgressiveReward"); if (progressiveRewardObject != null) {<br>progressiveReward = progressiveRewardObject.GetComponent <ProgressiveRewards> ();<br>} else { Debug.Log ("can't find Progressive Reward Object"); } } void Update () { if (progressiveReward != null ){ // do something } else { Debug.Log ("can't find Progressive Reward script"); } }
Everything works fine until the Xcode nightmare begins.
Has you can see (on the screenshot) a lot of code never gets executed and the ProgressiveReward is ignored. Did I miss something important ? like having to download both Unity and ObjectiveC SDK or something?
I work with Unity 5.5 xcode 8.2 on MacOS 10.11.
Any feedback would help. Thanks!
Sim