mirror of https://github.com/axmolengine/axmol.git
Updating comments for CCFileUtils.h.
This commit is contained in:
parent
632b91ee08
commit
2ca28d7e3d
|
@ -228,6 +228,13 @@ public:
|
||||||
* You can use this array to modify the search path of the resources.
|
* You can use this array to modify the search path of the resources.
|
||||||
* If you want to use "themes" or search resources in the "cache", you can do it easily by adding new entries in this array.
|
* If you want to use "themes" or search resources in the "cache", you can do it easily by adding new entries in this array.
|
||||||
*
|
*
|
||||||
|
* @note This method could access relative path and absolute path.
|
||||||
|
* If the relative path was passed to the vector, CCFileUtils will add the default resource directory before the relative path.
|
||||||
|
* For instance:
|
||||||
|
* On Android, the default resource root path is "assets/".
|
||||||
|
* If "/mnt/sdcard/" and "resources-large" were set to the search paths vector,
|
||||||
|
* "resources-large" will be converted to "assets/resources-large" since it was a relative path.
|
||||||
|
*
|
||||||
* @param searchPaths The array contains search paths.
|
* @param searchPaths The array contains search paths.
|
||||||
* @see fullPathForFilename()
|
* @see fullPathForFilename()
|
||||||
* @since v2.1
|
* @since v2.1
|
||||||
|
|
Loading…
Reference in New Issue