* Get a loaded asset by path. * @param {string} path - the asset path/name * @returns {*} the loaded asset (TextureAtlas, skeleton data, etc.)
(path)
| 135 | * @returns {*} the loaded asset (TextureAtlas, skeleton data, etc.) |
| 136 | */ |
| 137 | require(path) { |
| 138 | return this.spineAssetManager.require(path); |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * Dispose all loaded assets and release GPU resources. |