mirror of https://github.com/tuyoogame/YooAsset
[修改] 修改外部可以获取当前操作对象的包名称
1. 主要是外部如果是回调的时候,不一定在之前的代码位置了.所需要需要从操作对象中直接获取当前的包名pull/353/head
parent
850ae88bc6
commit
a6b333fe35
|
@ -93,7 +93,7 @@ namespace YooAsset
|
||||||
throw new System.NotImplementedException(this.GetType().Name);
|
throw new System.NotImplementedException(this.GetType().Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
internal string GetPackageName()
|
public string GetPackageName()
|
||||||
{
|
{
|
||||||
return _packageName;
|
return _packageName;
|
||||||
}
|
}
|
||||||
|
@ -191,4 +191,4 @@ namespace YooAsset
|
||||||
private TaskCompletionSource<object> _taskCompletionSource;
|
private TaskCompletionSource<object> _taskCompletionSource;
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue