diff --git a/cocos/platform/android/CCFileUtilsAndroid.h b/cocos/platform/android/CCFileUtilsAndroid.h index 9639c0daed..a9bb766b92 100644 --- a/cocos/platform/android/CCFileUtilsAndroid.h +++ b/cocos/platform/android/CCFileUtilsAndroid.h @@ -56,6 +56,7 @@ public: virtual ~FileUtilsAndroid(); static void setassetmanager(AAssetManager* a); + static AAssetManager* getAssetManager() { return assetmanager; } /* override funtions */ bool init();