static MainScenePlaneView *_sharedMainScenePlaneView = nil;
+(id)sharedMainScenePlaneView{
if (!_sharedMainScenePlaneView) {
_sharedMainScenePlaneView = init];
return _sharedMainScenePlaneView;
}
return _sharedMainScenePlaneView;
}
-(void)didLoadFromCCB{
;
playerBulletCache = ;
;
CCLOG(@"cache1 = %@", getPlayerBulletCache]);
CCLOG(@"cache2 = %@",);
}
```
两个log的结果
2015-05-25 13:12:32.587 aircraft cache1 = (null)
2015-05-25 13:12:32.587 aircraft cache2 =
为什么cache1就是null了呢?
自己搞定了,关了