mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-06-03 18:49:23 +08:00
修改MessageManager.dispatchEvent的args参数可接受任意数量
This commit is contained in:
@@ -84,7 +84,7 @@ export class GameComponent extends Component {
|
||||
* @param type 资源类型
|
||||
* @param bundleName 远程资源包名
|
||||
*/
|
||||
getRes<T extends Asset>(path: string, type?: __private._types_globals__Constructor<T> | null, bundleName?: string): T | null {
|
||||
getRes<T extends Asset>(path: string, type?: __private.__types_globals__Constructor<T> | null, bundleName?: string): T | null {
|
||||
return oops.res.get(path, type, bundleName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user