Hi guys,
I'm trying to work out how I can access a global variable from playMaker in one of my scripts. I'm trying out the Geosophic leaderboards plugin but it has no playMaker support.
So basically, I have an int variable called ScoreCombineAll and I need the int score variable from my script to use that value. How would I manage this?
My expertise with this kind of scripting is... not good.
Cheers!
using UnityEngine;
using System.Collections;
public class GeosophicPostScores : MonoBehaviour {
int score = 0;
int leaderBoardSchema = 401;
void Start ()
{
GeosophicSDK.PostScore (score, leaderBoardSchema);
}
}