hi
i have problem i created one user define object in one scene of the game and load it with data and then send it to other scene to load that data but when i tried to fetch the data from object then object show null value so any one can tell me how to send the data from one scene to other before destroyed the first scene example of the code is
countryclass *country =[[country alloc]init];
and fill the object and then send it to the other class scene by doing this
secondScene *objscene =[secondScene node];
objscene.objsecondLayer.country = country;
[objscene.objsecondLayer loaddata];
[[ccdirector shareddirector] replaceScenewith:objscene];